C# Класс DotNetCrypt.Serpent

Abstract base class for implementations of Ross Anderson, Eli Biham and Lars Knudsen's Serpent algorithm.
Наследование: SymmetricAlgorithmBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Serpent ( ) : System.Security.Cryptography

Initializes a new instance of the Serpent class.

Описание методов

Create() публичный статический Метод

Creates an instance of a cryptographic object to perform the Serpent algorithm.
public static Create ( ) : Serpent
Результат Serpent

Create() публичный статический Метод

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. ///
Результат Serpent

IsWeakKey() публичный Метод

Determines whether the specified key is weak.
public IsWeakKey ( byte rgbKey ) : bool
rgbKey byte /// The secret key to test for weakness. ///
Результат bool

Serpent() защищенный Метод

Initializes a new instance of the Serpent class.
protected Serpent ( ) : System.Security.Cryptography
Результат System.Security.Cryptography