C# Class DotNetCrypt.Serpent

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Serpent ( ) : System.Security.Cryptography

Initializes a new instance of the Serpent class.

Method Details

Create() public static méthode

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

Create() public static méthode

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. ///
Résultat Serpent

IsWeakKey() public méthode

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

Serpent() protected méthode

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