ChaCha20 class
Constructors
- ChaCha20()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
stream(
List< int> key, List<int> nonce, List<int> dst, {int nonceInplaceCounterLength = 0}) → List<int> - Generates a stream of pseudo-random bytes using the ChaCha stream cipher.
-
streamXOR(
List< int> key, List<int> nonce, List<int> src, List<int> dst, {int nonceInplaceCounterLength = 0}) → List<int> - Encrypts or decrypts data by XORing it with the output of the ChaCha stream cipher.