Class StreamBlockCipher
- Namespace
- Org.BouncyCastle.Crypto
- Assembly
- BouncyCastle.Cryptography.dll
public class StreamBlockCipher : IStreamCipher
- Inheritance
-
StreamBlockCipher
- Implements
- Inherited Members
Constructors
StreamBlockCipher(IBlockCipherMode)
public StreamBlockCipher(IBlockCipherMode cipherMode)
Parameters
cipherModeIBlockCipherMode
Properties
AlgorithmName
public string AlgorithmName { get; }
Property Value
Methods
Init(bool, ICipherParameters)
public void Init(bool forEncryption, ICipherParameters parameters)
Parameters
forEncryptionboolparametersICipherParameters
ProcessBytes(byte[], int, int, byte[], int)
public void ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff)
Parameters
ProcessBytes(ReadOnlySpan<byte>, Span<byte>)
Process a block of bytes from input, putting the result into output.
public virtual void ProcessBytes(ReadOnlySpan<byte> input, Span<byte> output)
Parameters
inputReadOnlySpan<byte>The input span.
outputSpan<byte>The output span.
Exceptions
- OutputLengthException
If the output span is too small.
Reset()
public void Reset()
ReturnByte(byte)
public byte ReturnByte(byte input)
Parameters
inputbyte