C# Class DotNetCrypt.SerpentManaged

Accesses the managed version of the Serpent algorithm. This class cannot be inherited.
Inheritance: Serpent
Datei anzeigen Open project: drizzt/KeePass-SerpentCipher Class Usage Examples

Public Methods

Method Description
CreateDecryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform

Creates a symmetric decryptor object with the specified P:System.Security.Cryptography.SymmetricAlgorithm.Key property and initialization vector (P:System.Security.Cryptography.SymmetricAlgorithm.IV).

CreateEncryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform

Creates a symmetric encryptor object with the specified P:System.Security.Cryptography.SymmetricAlgorithm.Key property and initialization vector (P:System.Security.Cryptography.SymmetricAlgorithm.IV).

Method Details

CreateDecryptor() public method

Creates a symmetric decryptor object with the specified P:System.Security.Cryptography.SymmetricAlgorithm.Key property and initialization vector (P:System.Security.Cryptography.SymmetricAlgorithm.IV).
public CreateDecryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform
rgbKey byte /// The secret key to use for the symmetric algorithm. ///
rgbIV byte /// The initialization vector to use for the symmetric algorithm. ///
return ICryptoTransform

CreateEncryptor() public method

Creates a symmetric encryptor object with the specified P:System.Security.Cryptography.SymmetricAlgorithm.Key property and initialization vector (P:System.Security.Cryptography.SymmetricAlgorithm.IV).
public CreateEncryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform
rgbKey byte /// The secret key to use for the symmetric algorithm. ///
rgbIV byte /// The initialization vector to use for the symmetric algorithm. ///
return ICryptoTransform