C# Class DotNetCrypt.SerpentManagedTransform

Performs a cryptographic transformation of data using the Serpent algorithm. This class cannot be inherited.
Inheritance: ManagedTransformBase
Afficher le fichier Open project: drizzt/KeePass-SerpentCipher

Méthodes protégées

Méthode Description
DecryptBlock ( byte block ) : void

Decrypts a single block of bytes, writing the result into the provided array.

EncryptBlock ( byte block ) : void

Encrypts a single block of bytes, writing the result into the provided array.

Reset ( ) : void

Clears all potentially sensitive data stores.

Private Methods

Méthode Description
ComputeKeySchedule ( ) : void
Decrypt ( uint cipher ) : void
Encrypt ( uint plain ) : void
GetBit ( uint x, int p, int offset ) : uint
GetFullLengthKey ( ) : uint[]
SerpentManagedTransform ( ISymmetricAlgorithm algorithm, byte rgbKey, byte rgbIv, TransformDirection transformDirection ) : System

Method Details

DecryptBlock() protected méthode

Decrypts a single block of bytes, writing the result into the provided array.
protected DecryptBlock ( byte block ) : void
block byte /// The block of bytes to be decrypted. ///
Résultat void

EncryptBlock() protected méthode

Encrypts a single block of bytes, writing the result into the provided array.
protected EncryptBlock ( byte block ) : void
block byte /// The block of bytes to be encrypted. ///
Résultat void

Reset() protected méthode

Clears all potentially sensitive data stores.
protected Reset ( ) : void
Résultat void