Class NaccacheSternEngine
- Namespace
- Org.BouncyCastle.Crypto.Engines
- Assembly
- BouncyCastle.Cryptography.dll
public class NaccacheSternEngine : IAsymmetricBlockCipher
- Inheritance
-
NaccacheSternEngine
- Implements
- Inherited Members
Properties
AlgorithmName
The name of the algorithm this cipher implements.
public string AlgorithmName { get; }
Property Value
Methods
AddCryptedBlocks(byte[], byte[])
public virtual byte[] AddCryptedBlocks(byte[] block1, byte[] block2)
Parameters
Returns
- byte[]
Encrypt(BigInteger)
public virtual byte[] Encrypt(BigInteger plain)
Parameters
plainBigInteger
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(byte[], int, int)
public virtual byte[] ProcessBlock(byte[] inBytes, int inOff, int length)
Parameters
Returns
- byte[]
ProcessData(byte[])
public virtual byte[] ProcessData(byte[] data)
Parameters
databyte[]
Returns
- byte[]