Package org.eclipse.jetty.util.security
Class UnixCrypt
- java.lang.Object
-
- org.eclipse.jetty.util.security.UnixCrypt
-
@Deprecated public class UnixCrypt extends java.lang.ObjectDeprecated.This api is not supported anymore. Please do not use it.Unix Crypt. Implements the one way cryptography used by Unix systems for simple password protection.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.Stringcrypt(java.lang.String key, java.lang.String setting)Deprecated.Encrypts String into crypt (Unix) code.static voidmain(java.lang.String[] arg)Deprecated.
-
-
-
Method Detail
-
crypt
public static java.lang.String crypt(java.lang.String key, java.lang.String setting)Deprecated.Encrypts String into crypt (Unix) code.- Parameters:
key- the key to be encryptedsetting- the salt to be used- Returns:
- the encrypted String
-
main
public static void main(java.lang.String[] arg)
Deprecated.
-
-