StorageHasher<K> class

Constructors

StorageHasher(Codec<K> codec, Hasher? hasher, bool concat)
const
StorageHasher.blake2b128(Codec<K> codec)
const
StorageHasher.blake2b128Concat(Codec<K> codec)
const
StorageHasher.blake2b256(Codec<K> codec)
const
StorageHasher.identity(Codec<K> codec)
const
StorageHasher.twoxx128(Codec<K> codec)
const
StorageHasher.twoxx128Concat(Codec<K> codec)
const
StorageHasher.twoxx256(Codec<K> codec)
const
StorageHasher.twoxx256Concat(Codec<K> codec)
const
StorageHasher.twoxx64(Codec<K> codec)
const
StorageHasher.twoxx64Concat(Codec<K> codec)
const

Properties

codec Codec<K>
final
concat bool
final
hashCode int
The hash code for this object.
no setterinherited
hasher Hasher?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

hash(K key) Uint8List
Creates a combined hash code for a number of objects.
override
hashTo({required K key, required Uint8List output}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
size(K key) int
toString() String
A string representation of this object.
inherited

Operators

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