Table of Contents

Class RsaCoreEngine

Namespace
Org.BouncyCastle.Crypto.Engines
Assembly
BouncyCastle.Cryptography.dll

This does your basic RSA algorithm.

public class RsaCoreEngine : IRsa
Inheritance
RsaCoreEngine
Implements
Inherited Members

Methods

ConvertInput(byte[], int, int)

public virtual BigInteger ConvertInput(byte[] inBuf, int inOff, int inLen)

Parameters

inBuf byte[]
inOff int
inLen int

Returns

BigInteger

ConvertOutput(BigInteger)

public virtual byte[] ConvertOutput(BigInteger result)

Parameters

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

public virtual BigInteger ProcessBlock(BigInteger input)

Parameters

input BigInteger

Returns

BigInteger