C# Class Org.BouncyCastle.Crypto.Engines.VmpcEngine

Inheritance: IStreamCipher
Show file Open project: nonorganic/dssnet Class Usage Examples

Protected Properties

Property Type Description
P byte[]
n byte
s byte
workingIV byte[]
workingKey byte[]

Public Methods

Method Description
Init ( bool forEncryption, ICipherParameters parameters ) : void
ProcessBytes ( byte input, int inOff, int len, byte output, int outOff ) : void
Reset ( ) : void
ReturnByte ( byte input ) : byte

Protected Methods

Method Description
InitKey ( byte keyBytes, byte ivBytes ) : void

Method Details

Init() public method

public Init ( bool forEncryption, ICipherParameters parameters ) : void
forEncryption bool
parameters ICipherParameters
return void

InitKey() protected method

protected InitKey ( byte keyBytes, byte ivBytes ) : void
keyBytes byte
ivBytes byte
return void

ProcessBytes() public method

public ProcessBytes ( byte input, int inOff, int len, byte output, int outOff ) : void
input byte
inOff int
len int
output byte
outOff int
return void

Reset() public method

public Reset ( ) : void
return void

ReturnByte() public method

public ReturnByte ( byte input ) : byte
input byte
return byte

Property Details

P protected property

protected byte[] P
return byte[]

n protected property

protected byte n
return byte

s protected property

protected byte s
return byte

workingIV protected property

protected byte[] workingIV
return byte[]

workingKey protected property

protected byte[] workingKey
return byte[]