FpeEngine
Base class for format-preserving encryption.
protected abstract int DecryptBlock(
byte[]
inBuf,
int inOff,
int length,
byte[]
outBuf,
int outOff)
protected abstract int EncryptBlock(
byte[]
inBuf,
int inOff,
int length,
byte[]
outBuf,
int outOff)
Initialize the FPE engine for encryption/decryption.
public virtual int ProcessBlock(
byte[]
inBuf,
int inOff,
int length,
byte[]
outBuf,
int outOff)
Process length bytes from inBuf, writing the output to outBuf.