ChaCha20 class
ChaCha20 stream cipher (RFC 8439).
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
-
clean(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
process(
List< int> data, {required List<int> nonce, int nonceInplaceCounterLength = 0, int seekBytes = 0, List<int> ? dst}) → BuBytes - Encrypts or decrypts data by XORing it with the output of the ChaCha stream cipher.
-
stream(
List< int> nonce, BuBytes dst, {int nonceInplaceCounterLength = 0}) → BuBytes - Generates a stream of pseudo-random bytes using the ChaCha stream cipher.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited