C# Class Mono.Security.Cryptography.SymmetricTransform

Inheritance: ICryptoTransform
Mostrar archivo Open project: runefs/Marvin

Protected Properties

Property Type Description
algo SymmetricAlgorithm
encrypt bool

Public Methods

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

Protected Methods

Method 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

Method 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 method

protected CBC ( byte input, byte output ) : void
input byte
output byte
return void

CFB() protected method

protected CFB ( byte input, byte output ) : void
input byte
output byte
return void

CTS() protected method

protected CTS ( byte input, byte output ) : void
input byte
output byte
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

ECB() protected abstract method

protected abstract ECB ( byte input, byte output ) : void
input byte
output byte
return void

IDisposable() protected method

protected IDisposable ( ) : void
return void

OFB() protected method

protected OFB ( byte input, byte output ) : void
input byte
output byte
return void

SymmetricTransform() public method

public SymmetricTransform ( SymmetricAlgorithm symmAlgo, bool encryption, byte rgbIV ) : System
symmAlgo SymmetricAlgorithm
encryption bool
rgbIV byte
return System

Transform() protected method

protected Transform ( byte input, byte output ) : void
input byte
output byte
return void

TransformBlock() public method

public TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int
inputBuffer byte
inputOffset int
inputCount int
outputBuffer byte
outputOffset int
return int

TransformFinalBlock() public method

public TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[]
inputBuffer byte
inputOffset int
inputCount int
return byte[]

Property Details

algo protected_oe property

protected SymmetricAlgorithm algo
return SymmetricAlgorithm

encrypt protected_oe property

protected bool encrypt
return bool