Table of Contents

Class DesEngine

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

Constructors

DesEngine()

public DesEngine()

Properties

AlgorithmName

public virtual string AlgorithmName { get; }

Property Value

string

IsPartialBlockOkay

public virtual bool IsPartialBlockOkay { get; }

Property Value

bool

Methods

GenerateWorkingKey(bool, byte[])

protected static int[] GenerateWorkingKey(bool encrypting, byte[] key)

Parameters

encrypting bool
key byte[]

Returns

int[]

GetBlockSize()

public virtual int GetBlockSize()

Returns

int

GetWorkingKey()

public virtual int[] GetWorkingKey()

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[] input, int inOff, byte[] output, int outOff)

Parameters

input byte[]
inOff int
output byte[]
outOff int

Returns

int

Reset()

public virtual void Reset()