EksBlowfishKeyExpansionFlags Enumeration | CryptSharp |
Modifiers for Expensive Key Schedule (EKS) Blowfish key expansion behavior.
Namespace: CryptSharp.Utility
Assembly: CryptSharp (in CryptSharp.dll) Version: 2.1.0.0
Syntax
[FlagsAttribute] public enum EksBlowfishKeyExpansionFlags
<FlagsAttribute> Public Enumeration EksBlowfishKeyExpansionFlags
[FlagsAttribute] public enum class EksBlowfishKeyExpansionFlags
[<FlagsAttribute>] type EksBlowfishKeyExpansionFlags
Members
Member name | Value | Description | |
---|---|---|---|
None | 0 | Default behavior. | |
EmulateCryptBlowfishSignExtensionBug | 1 | The EksBlowfish code in CryptSharp was implemented as per the specification at http://static.usenix.org/event/usenix99/provos/provos_html/node4.html. Many other BCrypt implementations, however, are ports originating originating with the crypt_blowfish C implementation. Pre-2011, crypt_blowfish had a sign extension bug that caused up to three characters previous to any 8-bit character to match 0xFF. CryptSharp never had this bug. However, for those who need backwards compatibility for old password databases created with one of these libraries, I have added *support* for the bug. You can enable it with this flag. |
See Also