ShortHash class

Computes short hashes using the SipHash-2-4 algorithm.

Constructors

ShortHash()

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) Uint8List
Computes a fixed-size fingerprint for given value and key.
override
hashString(String value, Uint8List key) Uint8List
Computes a fixed-size fingerprint for given string value and key.
randomKey() Uint8List
Generates a random key for use with short hashing.