C# Class DotNetCrypt.Serpent

Abstract base class for implementations of Ross Anderson, Eli Biham and Lars Knudsen's Serpent algorithm.
Inheritance: SymmetricAlgorithmBase
Exibir arquivo Open project: drizzt/KeePass-SerpentCipher

Public Methods

Method Description
Create ( ) : Serpent

Creates an instance of a cryptographic object to perform the Serpent algorithm.

Create ( string algName ) : Serpent

Creates an instance of a cryptographic object to perform the specified implementation of the Serpent algorithm.

IsWeakKey ( byte rgbKey ) : bool

Determines whether the specified key is weak.

Protected Methods

Method Description
Serpent ( ) : System.Security.Cryptography

Initializes a new instance of the Serpent class.

Method Details

Create() public static method

Creates an instance of a cryptographic object to perform the Serpent algorithm.
public static Create ( ) : Serpent
return Serpent

Create() public static method

Creates an instance of a cryptographic object to perform the specified implementation of the Serpent algorithm.
public static Create ( string algName ) : Serpent
algName string /// The name of the specified implementation of /// to use. ///
return Serpent

IsWeakKey() public method

Determines whether the specified key is weak.
public IsWeakKey ( byte rgbKey ) : bool
rgbKey byte /// The secret key to test for weakness. ///
return bool

Serpent() protected method

Initializes a new instance of the Serpent class.
protected Serpent ( ) : System.Security.Cryptography
return System.Security.Cryptography