Hchacha20 class abstract

Hchacha20 (draft-irtf-cfrg-xchacha) key derivation algorithm.

Hchacha20 produces a 256-bit secret key from 256-bit secret key and 96-bit nonce. The algorithm is used by Xchacha20.

The only implementation we have is DartHChacha20.

Implementers

Constructors

Hchacha20()
factory
Hchacha20.constructor()
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

deriveKey({required SecretKey secretKey, required List<int> nonce}) → Future<SecretKey>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override