C# Class Mono.Security.Cryptography.SymmetricTransform

Inheritance: ICryptoTransform
Afficher le fichier Open project: runefs/Marvin

Protected Properties

Свойство Type Description
algo SymmetricAlgorithm
encrypt bool

Méthodes publiques

Méthode Description
SymmetricTransform ( SymmetricAlgorithm symmAlgo, bool encryption, byte rgbIV ) : System
TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int
TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[]

Méthodes protégées

Méthode Description
CBC ( byte input, byte output ) : void
CFB ( byte input, byte output ) : void
CTS ( byte input, byte output ) : void
Dispose ( bool disposing ) : void
ECB ( byte input, byte output ) : void
IDisposable ( ) : void
OFB ( byte input, byte output ) : void
Transform ( byte input, byte output ) : void

Private Methods

Méthode Description
CheckInput ( byte inputBuffer, int inputOffset, int inputCount ) : void
FinalDecrypt ( byte inputBuffer, int inputOffset, int inputCount ) : byte[]
FinalEncrypt ( byte inputBuffer, int inputOffset, int inputCount ) : byte[]
InternalTransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int
Random ( byte buffer, int start, int length ) : void
ThrowBadPaddingException ( PaddingMode padding, int length, int position ) : void

Method Details

CBC() protected méthode

protected CBC ( byte input, byte output ) : void
input byte
output byte
Résultat void

CFB() protected méthode

protected CFB ( byte input, byte output ) : void
input byte
output byte
Résultat void

CTS() protected méthode

protected CTS ( byte input, byte output ) : void
input byte
output byte
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

ECB() protected abstract méthode

protected abstract ECB ( byte input, byte output ) : void
input byte
output byte
Résultat void

IDisposable() protected méthode

protected IDisposable ( ) : void
Résultat void

OFB() protected méthode

protected OFB ( byte input, byte output ) : void
input byte
output byte
Résultat void

SymmetricTransform() public méthode

public SymmetricTransform ( SymmetricAlgorithm symmAlgo, bool encryption, byte rgbIV ) : System
symmAlgo SymmetricAlgorithm
encryption bool
rgbIV byte
Résultat System

Transform() protected méthode

protected Transform ( byte input, byte output ) : void
input byte
output byte
Résultat void

TransformBlock() public méthode

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[]

Property Details

algo protected_oe property

protected SymmetricAlgorithm algo
Résultat SymmetricAlgorithm

encrypt protected_oe property

protected bool encrypt
Résultat bool