Table of Contents

Class NaccacheSternEngine

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

Constructors

NaccacheSternEngine()

public NaccacheSternEngine()

Properties

AlgorithmName

public string AlgorithmName { get; }

Property Value

string

Debug

[Obsolete("Remove: no longer used")]
public virtual bool Debug { set; }

Property Value

bool

Methods

AddCryptedBlocks(byte[], byte[])

public virtual byte[] AddCryptedBlocks(byte[] block1, byte[] block2)

Parameters

block1 byte[]
block2 byte[]

Returns

byte[]

Encrypt(BigInteger)

public virtual byte[] Encrypt(BigInteger plain)

Parameters

plain BigInteger

Returns

byte[]

GetInputBlockSize()

public virtual int GetInputBlockSize()

Returns

int

GetOutputBlockSize()

public virtual int GetOutputBlockSize()

Returns

int

Init(bool, ICipherParameters)

public virtual void Init(bool forEncryption, ICipherParameters parameters)

Parameters

forEncryption bool
parameters ICipherParameters

ProcessBlock(byte[], int, int)

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

Parameters

inBytes byte[]
inOff int
length int

Returns

byte[]

ProcessData(byte[])

public virtual byte[] ProcessData(byte[] data)

Parameters

data byte[]

Returns

byte[]