Table of Contents

Class ThreefishEngine

Namespace
Enterprises.Org.BouncyCastle.Crypto.Engines
Assembly
Enterprises.BouncyCastle.Crypto.dll
public class ThreefishEngine : IBlockCipher
Inheritance
ThreefishEngine
Implements
Inherited Members

Constructors

ThreefishEngine(int)

public ThreefishEngine(int blocksizeBits)

Parameters

blocksizeBits int

Fields

BLOCKSIZE_1024

public const int BLOCKSIZE_1024 = 1024

Field Value

int

BLOCKSIZE_256

public const int BLOCKSIZE_256 = 256

Field Value

int

BLOCKSIZE_512

public const int BLOCKSIZE_512 = 512

Field Value

int

Properties

AlgorithmName

public virtual string AlgorithmName { get; }

Property Value

string

IsPartialBlockOkay

public virtual bool IsPartialBlockOkay { get; }

Property Value

bool

Methods

GetBlockSize()

public virtual int GetBlockSize()

Returns

int

Init(bool, ICipherParameters)

public virtual void Init(bool forEncryption, ICipherParameters parameters)

Parameters

forEncryption bool
parameters ICipherParameters

ProcessBlock(byte[], int, byte[], int)

public virtual int ProcessBlock(byte[] inBytes, int inOff, byte[] outBytes, int outOff)

Parameters

inBytes byte[]
inOff int
outBytes byte[]
outOff int

Returns

int

Reset()

public virtual void Reset()