FEATURE: Very simple command-line tool to crypt a password.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327742 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package org.ofbiz.base.crypto;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) throws Exception {
|
||||
if (args[0].equals("-crypt")) {
|
||||
System.out.println(HashCrypt.cryptPassword(args[1], args[2]));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user