Salsa20Engine Class

Implementation of Daniel J. Bernstein's Salsa20 stream cipher, Snuffle 2005

Definition

Namespace: Org.BouncyCastle.Crypto.Engines
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public class Salsa20Engine : IStreamCipher
Inheritance
Object    Salsa20Engine
Derived
Implements
IStreamCipher

Constructors

Salsa20Engine Creates a 20 round Salsa20 engine.
Salsa20Engine(Int32) Creates a Salsa20 engine with a specific number of rounds.

Properties

Methods

AdvanceCounter 
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GenerateKeyStream 
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Init 
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ProcessBytes(ReadOnlySpanByte, SpanByte) 
ProcessBytes(Byte, Int32, Int32, Byte, Int32) 
Reset 
ResetCounter 
ReturnByte 
SetKey 
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

See Also