XChaCha20 class

Реализация XChaCha20 на основе ChaCha20 из PointyCastle, строго в соответствии со спецификацией PASETO

Inheritance

Constructors

XChaCha20.new()

Properties

algorithmName String
Get this algorithm's standard name.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
rounds int
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateKeyStream(Uint8List output) → void
inherited
init(bool forEncryption, covariant ParametersWithIV<KeyParameter> params) → void
Initialize XChaCha20 with a 24-byte nonce
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process(Uint8List data) Uint8List
Метод для шифрования/дешифрования массива байтов
inherited
processBytes(Uint8List inp, int inpOff, int len, Uint8List out, int outOff) → void
Process len bytes of data given by inp and starting at offset inpOff. The resulting cipher text is put in out beginning at position outOff.
inherited
reset() → void
Reset the cipher to its original state.
inherited
returnByte(int inp) int
Process one byte of data given by inp and return its encrypted value.
inherited
toString() String
A string representation of this object.
inherited

Operators

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