GenericHash class abstract

A meta class that provides access to all libsodium generichash APIs.

This class provides the dart interface for the crypto operations documented in https://libsodium.gitbook.io/doc/hashing/generic_hashing. Please refer to that documentation for more details about these APIs.

Properties

bytes int
Provides crypto_generichash_BYTES.
no setter
bytesMax int
Provides crypto_generichash_BYTES_MAX.
no setter
bytesMin int
Provides crypto_generichash_BYTES_MIN.
no setter
hashCode int
The hash code for this object.
no setterinherited
keyBytes int
Provides crypto_generichash_KEYBYTES.
no setter
keyBytesMax int
Provides crypto_generichash_KEYBYTES_MAX.
no setter
keyBytesMin int
Provides crypto_generichash_KEYBYTES_MIN.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call({required Uint8List message, int? outLen, SecureKey? key}) Uint8List
Provides crypto_generichash.
createConsumer({int? outLen, SecureKey? key}) GenericHashConsumer
Creates a StreamConsumer for generating a hash from a stream.
keygen() SecureKey
Provides crypto_generichash_keygen.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stream({required Stream<Uint8List> messages, int? outLen, SecureKey? key}) Future<Uint8List>
Get the hash from an aynchronous stream of data.
toString() String
A string representation of this object.
inherited

Operators

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