Class VmpcEngine
- Namespace
- Enterprises.Org.BouncyCastle.Crypto.Engines
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class VmpcEngine : IStreamCipher
- Inheritance
-
VmpcEngine
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
VmpcEngine()
Fields
P
Field Value
- byte[]
n
Field Value
- byte
s
Field Value
- byte
workingIV
protected byte[] workingIV
Field Value
- byte[]
workingKey
protected byte[] workingKey
Field Value
- byte[]
Properties
AlgorithmName
public virtual string AlgorithmName { get; }
Property Value
- string
Methods
Init(bool, ICipherParameters)
public virtual void Init(bool forEncryption, ICipherParameters parameters)
Parameters
forEncryption
bool
parameters
ICipherParameters
InitKey(byte[], byte[])
protected virtual void InitKey(byte[] keyBytes, byte[] ivBytes)
Parameters
keyBytes
byte[]
ivBytes
byte[]
ProcessBytes(byte[], int, int, byte[], int)
public virtual void ProcessBytes(byte[] input, int inOff, int len, byte[] output, int outOff)
Parameters
input
byte[]
inOff
int
len
int
output
byte[]
outOff
int
Reset()
public virtual void Reset()
ReturnByte(byte)
public virtual byte ReturnByte(byte input)
Parameters
input
byte
Returns
- byte