C# 클래스 DotNetCrypt.SymmetricAlgorithmBase

An abstract base class for managed implementations of SymmetricAlgorithm.
This class introduces the ExtendedMode property, allowing a wider range of block cipher chaining modes to be used. For this reason, the Mode property is now marked with the ObsoleteAttribute.
상속: System.Security.Cryptography.SymmetricAlgorithm, ISymmetricAlgorithm
파일 보기 프로젝트 열기: drizzt/KeePass-SerpentCipher

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
GenerateIV ( ) : void

Generates a random initialization vector (P:System.Security.Cryptography.SymmetricAlgorithm.IV) to use for the algorithm.

GenerateKey ( ) : void

Generates a random non-weak key (P:System.Security.Cryptography.SymmetricAlgorithm.Key) to use for the algorithm.

GenerateNonWeakKey ( ) : byte[]

Returns a random non-weak key (P:System.Security.Cryptography.SymmetricAlgorithm.Key) to use for the algorithm.

IsWeakKey ( byte rgbKey ) : bool

Determines whether the specified key is weak.

메소드 상세

GenerateIV() 공개 메소드

Generates a random initialization vector (P:System.Security.Cryptography.SymmetricAlgorithm.IV) to use for the algorithm.
public GenerateIV ( ) : void
리턴 void

GenerateKey() 공개 메소드

Generates a random non-weak key (P:System.Security.Cryptography.SymmetricAlgorithm.Key) to use for the algorithm.
public GenerateKey ( ) : void
리턴 void

GenerateNonWeakKey() 공개 메소드

Returns a random non-weak key (P:System.Security.Cryptography.SymmetricAlgorithm.Key) to use for the algorithm.
public GenerateNonWeakKey ( ) : byte[]
리턴 byte[]

IsWeakKey() 공개 추상적인 메소드

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