Performs an Expensive Key Schedule (EKS) Blowfish key expansion and
creates a Blowfish cipher using the result.
Namespace: CryptSharp.UtilityAssembly: CryptSharp (in CryptSharp.dll) Version: 2.0.0.0
Syntax
public static BlowfishCipher CreateEks( byte[] key, byte[] salt, int cost )
Parameters
- key
- Type: System Byte
The key. This must be between 1 and 72 bytes. Unlike BlowfishCrypter, this method does NOT automatically add a null byte to the key.
- salt
- Type: System Byte
The salt. This must be 16 bytes.
- cost
- Type: System Int32
The expansion cost. This is a value between 4 and 31, specifying the logarithm of the number of iterations.
Return Value
A Blowfish cipher.See Also