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:
Adam Heath
2012-04-18 23:49:28 +00:00
parent f092508550
commit 4e165df74b
@@ -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]));
}
}
}