Table of Contents

Class FpeFf1Engine

Namespace
Org.BouncyCastle.Crypto.Fpe
Assembly
BouncyCastle.Cryptography.dll
public class FpeFf1Engine : FpeEngine
Inheritance
FpeFf1Engine
Inherited Members

Constructors

FpeFf1Engine()

public FpeFf1Engine()

FpeFf1Engine(IBlockCipher)

public FpeFf1Engine(IBlockCipher baseCipher)

Parameters

baseCipher IBlockCipher

Methods

DecryptBlock(byte[], int, int, byte[], int)

protected override int DecryptBlock(byte[] inBuf, int inOff, int length, byte[] outBuf, int outOff)

Parameters

inBuf byte[]
inOff int
length int
outBuf byte[]
outOff int

Returns

int

EncryptBlock(byte[], int, int, byte[], int)

protected override int EncryptBlock(byte[] inBuf, int inOff, int length, byte[] outBuf, int outOff)

Parameters

inBuf byte[]
inOff int
length int
outBuf byte[]
outOff int

Returns

int

Init(bool, ICipherParameters)

Initialize the FPE engine for encryption/decryption.

public override void Init(bool forEncryption, ICipherParameters parameters)

Parameters

forEncryption bool

true if initialising for encryption, false otherwise.

parameters ICipherParameters