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
Returns
ConvertOutput(BigInteger)
public virtual byte[] ConvertOutput(BigInteger result)
Parameters
resultBigInteger
Returns
- byte[]
GetInputBlockSize()
public virtual int GetInputBlockSize()
Returns
GetOutputBlockSize()
public virtual int GetOutputBlockSize()
Returns
Init(bool, ICipherParameters)
public virtual void Init(bool forEncryption, ICipherParameters parameters)
Parameters
forEncryptionboolparametersICipherParameters
ProcessBlock(BigInteger)
public virtual BigInteger ProcessBlock(BigInteger input)
Parameters
inputBigInteger