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
Encrypts String into crypt (Unix) code as used by Firebird.- Parameters:
key
- the key to be encrypted- Returns:
- the encrypted String
-