Package com.aoindustries.util
Class UnixCrypt
- java.lang.Object
-
- com.aoindustries.util.UnixCrypt
-
@Deprecated public class UnixCrypt extends Object
Deprecated.This is not secure anymore.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Stringcrypt(String plaintext)Deprecated.This is not secure anymore.static Stringcrypt(String key, String setting)Deprecated.This is not secure anymore.static voidmain(String[] args)Deprecated.This is not secure anymore.
-
-
-
Method Detail
-
crypt
@Deprecated public static String crypt(String plaintext)
Deprecated.This is not secure anymore.
-
crypt
@Deprecated public static String crypt(String key, String setting)
Deprecated.This is not secure anymore.Encrypts String into crypt (Unix) code.- Parameters:
key- the key to be encryptedsetting- the salt to be used- Returns:
- the encrypted String
-
main
@Deprecated public static void main(String[] args)
Deprecated.This is not secure anymore.
-
-