BlowfishCipher MembersCryptSharp

The BlowfishCipher type exposes the following members.
Methods

  NameDescription
Public methodBCrypt 
Uses the cipher to generate a BCrypt hash.
Public methodStatic memberBCrypt( Byte ,  Byte , Int32)
Uses the given key, salt, and cost to generate a BCrypt hash.
Public methodStatic memberBCrypt( Byte ,  Byte , Int32, EksBlowfishKeyExpansionFlags)
Uses the given key, salt, and cost to generate a BCrypt hash. Flags may modify the key expansion.
Public methodStatic memberCreate
Creates a Blowfish cipher using the provided key.
Public methodStatic memberCreateEks( Byte ,  Byte , Int32)
Performs an Expensive Key Schedule (EKS) Blowfish key expansion and creates a Blowfish cipher using the result.
Public methodStatic memberCreateEks( Byte ,  Byte , Int32, EksBlowfishKeyExpansionFlags)
Performs an Expensive Key Schedule (EKS) Blowfish key expansion and creates a Blowfish cipher using the result. Flags may modify the key expansion.
Public methodDecipher( Byte , Int32)
Reverses the encipherment of eight bytes of data in-place.
Public methodDecipher(UInt32 , UInt32 )
Reverses the encipherment of eight bytes of data.
Public methodDecipher( Byte , Int32,  Byte , Int32)
Reverses the encipherment of eight bytes of data from one buffer and places the result in another buffer.
Public methodDispose
Clears all memory used by the cipher.
Public methodEncipher( Byte , Int32)
Enciphers eight bytes of data in-place.
Public methodEncipher(UInt32 , UInt32 )
Enciphers eight bytes of data.
Public methodEncipher( Byte , Int32,  Byte , Int32)
Enciphers eight bytes of data from one buffer and places the result in another buffer.
Back to Top
Properties

  NameDescription
Public propertyStatic memberBCryptLength
Public propertyStatic memberBCryptMagic
The special string used encrypted in the BCrypt algorithm.
Public propertyIsKeyWeak
A Blowfish key is weak if one of its S-boxes has a duplicate entry. See http://www.schneier.com/paper-blowfish-oneyear.html for more information.
Back to Top
See Also