ChaCha22 class

Constructors

ChaCha22({required List<int> key, required List<int> nonce, int nonceInplaceCounterLength = 0})

Properties

block List<int>
final
counterLength int
latefinal
hashCode int
The hash code for this object.
no setterinherited
key List<int>
latefinal
nonce List<int>
latefinal
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
streamXOR(List<int> src, List<int> dst, {int seekBytes = 0}) List<int>
Encrypts or decrypts data by XORing it with the output of the ChaCha stream cipher.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited