☰
In sp_core
Modules
bounded
crypto
defer
ecdsa
ed25519
hash
hashing
hexdisplay
offchain
sr25519
testing
traits
uint
Macros
bounded_btree_map
bounded_vec
defer
generate_feature_enabled_macro
impl_maybe_marker
map
parameter_types
wasm_export_functions
Structs
Blake2Hasher
Bytes
ConstBool
ConstI128
ConstI16
ConstI32
ConstI64
ConstI8
ConstU128
ConstU16
ConstU32
ConstU64
ConstU8
GetDefault
H160
H256
H512
KeccakHasher
OpaqueMetadata
OpaquePeerId
U256
U512
Enums
ExecutionContext
LogLevel
LogLevelFilter
Void
Constants
MAX_POSSIBLE_ALLOCATION
Traits
Get
Hasher
TryCollect
TypeId
TypedGet
Functions
blake2_128
blake2_256
keccak_256
twox_128
twox_256
twox_64
?
Function
sp_core
::
twox_64
source
·
[
−
]
pub fn twox_64(data: &[
u8
]) -> [
u8
;
8
]
Expand description
Do a XX 64-bit hash and return result.