Package org.eclipse.jetty.util.security
Class UnixCrypt
java.lang.Object
org.eclipse.jetty.util.security.UnixCrypt
Unix Crypt. Implements the one way cryptography used by Unix systems for
simple password protection.
-
Method Summary
-
Method Details
-
crypt
Encrypts String into crypt (Unix) code.- Parameters:
key
- the key to be encryptedsetting
- the salt to be used- Returns:
- the encrypted String
-
main
-