java.lang.Object
org.firebirdsql.gds.ng.wire.auth.legacy.LegacyHash
Implements the one way password hash used by the legacy authentication of Firebird.
NOTE: This class was modified to only be applicable specifically to the hash used by Firebird, it is not generally usable.
Original class name: UnixCrypt
- Author:
- Greg Wilkins (gregw)
-
Method Summary
-
Method Details
-
fbCrypt
Encryptskeyinto UnixCrypt hash as used by Firebird Legacy_Auth.- Parameters:
key- the key to be encryptedcharsetName- character set to convertkeyto bytes- Returns:
- the encrypted String
- Since:
- 6.0.6
-