C# Class ManyMonkeys.Cryptography.TwofishEncryption

Summary description for TwofishEncryption.
Inheritance: TwofishBase, ICryptoTransform
Afficher le fichier Open project: hdneo/mxo-hd

Méthodes publiques

Méthode Description
Dispose ( ) : void
TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int

Transform a block depending on whether we are encrypting or decrypting

TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[]
TwofishEncryption ( int keyLen, byte &key, byte &iv, CipherMode cMode, EncryptionDirection direction ) : System

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

TransformBlock() public méthode

Transform a block depending on whether we are encrypting or decrypting
public TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int
inputBuffer byte
inputOffset int
inputCount int
outputBuffer byte
outputOffset int
Résultat int

TransformFinalBlock() public méthode

public TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[]
inputBuffer byte
inputOffset int
inputCount int
Résultat byte[]

TwofishEncryption() public méthode

public TwofishEncryption ( int keyLen, byte &key, byte &iv, CipherMode cMode, EncryptionDirection direction ) : System
keyLen int
key byte
iv byte
cMode CipherMode
direction EncryptionDirection
Résultat System