StorageHasher enum

Hasher used by storage maps

Inheritance
Available extensions

Values

blake2_128 → const StorageHasher

128-bit Blake2 hash.

const StorageHasher(false)
blake2_256 → const StorageHasher

256-bit Blake2 hash.

const StorageHasher(false)
blake2_128Concat → const StorageHasher

Multiple 128-bit Blake2 hashes concatenated.

const StorageHasher(true)
twox128 → const StorageHasher

128-bit XX hash.

const StorageHasher(false)
twox256 → const StorageHasher

256-bit XX hash.

const StorageHasher(false)
twox64Concat → const StorageHasher

Multiple 64-bit XX hashes concatenated.

const StorageHasher(true)
identity → const StorageHasher

Identity hashing (no hashing).

const StorageHasher(true)

Properties

concat bool
Wether the hasher is concatenating the original.
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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.
override

Operators

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

Constants

codec → const $StorageHasherCodec
values → const List<StorageHasher>
A constant List of the values in this enum, in order of their declaration.