public class UnixCrypt
extends Object
A Unix encryption which is uni-directional. Was typically used to hash
passwords on older Unix systems.
-
Constructor Summary
Constructors
-
Method Summary
crypt(char[] textToEncrypt)
crypt(char[] encryptionSalt,
char[] textToEncrypt)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
UnixCrypt
public UnixCrypt()
-
Method Details
-
crypt
public static String crypt(char[] textToEncrypt)
-
crypt
public static String crypt(char[] encryptionSalt,
char[] textToEncrypt)