IStreamCipher Interface

The interface stream ciphers conform to.

Definition

Namespace: Org.BouncyCastle.Crypto
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public interface IStreamCipher

Properties

AlgorithmNameThe name of the algorithm this cipher implements.

Methods

InitInitialise the cipher.
ProcessBytes(ReadOnlySpanByte, SpanByte) Process a block of bytes from input, putting the result into output.
ProcessBytes(Byte, Int32, Int32, Byte, Int32) Process a block of bytes from input, putting the result into output.
Reset Reset the cipher to the same state as it was after the last init (if there was one).
ReturnByteencrypt/decrypt a single byte returning the result.

See Also