Class UnixCrypt
- java.lang.Object
-
- org.firebirdsql.gds.ng.wire.auth.legacy.UnixCrypt
-
@Deprecated public class UnixCrypt extends java.lang.ObjectDeprecated.will be removed in Jaybird 6, and replaced byLegacyHashwhich will be introduced in Jaybird 6Unix Crypt. Implements the one way cryptography used by Unix systems for simple password protection.- Author:
- Greg Wilkins (gregw)
-
-
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, java.lang.String charsetName)Deprecated.Encrypts String into UnixCrypt code.
-
-
-
Method Detail
-
crypt
public static java.lang.String crypt(java.lang.String key, java.lang.String setting, java.lang.String charsetName)Deprecated.Encrypts String into UnixCrypt code.- Parameters:
key- the key to be encryptedsetting- the salt to be usedcharsetName- character set to convertkeyto bytes- Returns:
- the encrypted String
- Since:
- 5.0.13
-
-