GenericHash class

Computes a fixed-length fingerprint for an arbitrary long message using the BLAKE2b algorithm.

Constructors

GenericHash()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

hash(Uint8List value, {Uint8List? key, int? outlen}) Uint8List
Computes a generic hash of specified length for given value and optional key.
override
hashStream(Stream<Uint8List> stream, {Uint8List? key, int? outlen}) Future<Uint8List>
Computes a generic hash of specified length for given stream of byte values and optional key.
hashString(String value, {Uint8List? key, int? outlen}) Uint8List
Computes a generic hash of specified length for given string value and optional key.
hashStrings(Stream<String> stream, {Uint8List? key, int? outlen}) Future<Uint8List>
Computes a generic hash of specified length for given stream of string values and optional key.
randomKey() Uint8List
Generates a random key for use with generic hashing.