Table of Contents

Class Gost28147Engine

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

Constructors

Gost28147Engine()

public Gost28147Engine()

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

GetSBox(string)

public static byte[] GetSBox(string sBoxName)

Parameters

sBoxName string

Returns

byte[]

GetSBoxName(byte[])

public static string GetSBoxName(byte[] sBox)

Parameters

sBox byte[]

Returns

string

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()