CryptoImplementation class abstract

Constructors

CryptoImplementation()

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

decryptXChaCha20Poly1305({required Uint8List key, required Uint8List nonce, required Uint8List ciphertext}) → Future<Uint8List>
encryptXChaCha20Poly1305({required Uint8List key, required Uint8List nonce, required Uint8List plaintext}) → Future<Uint8List>
generateRandomBytes(int length) → Uint8List
hashBlake3(Uint8List input) → Future<Uint8List>
hashBlake3File({required int size, required OpenReadFunction openRead}) → Future<Uint8List>
hashBlake3Sync(Uint8List input) → Uint8List
newKeyPairEd25519({required Uint8List seed}) → Future<KeyPairEd25519>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signEd25519({required KeyPairEd25519 kp, required Uint8List message}) → Future<Uint8List>
toString() → String
A string representation of this object.
inherited
verifyEd25519({required Uint8List pk, required Uint8List message, required Uint8List signature}) → Future<bool>

Operators

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