☰
In sp_core
Modules
crypto
defer
ecdsa
ed25519
hash
hashing
hexdisplay
offchain
sr25519
testing
traits
uint
Macros
defer
impl_maybe_marker
map
wasm_export_functions
Structs
Blake2Hasher
Bytes
H160
H256
H512
KeccakHasher
OpaqueMetadata
OpaquePeerId
U256
U512
Enums
ExecutionContext
LogLevel
LogLevelFilter
NativeOrEncoded
NeverNativeValue
Void
Constants
MAX_POSSIBLE_ALLOCATION
Traits
Hasher
TypeId
Functions
blake2_128
blake2_256
keccak_256
twox_128
twox_256
twox_64
?
Function
sp_core
::
twox_256
source
·
[
−
]
pub fn twox_256(data: &[
u8
]) -> [
u8
;
32
]
Expand description
Do a XX 256-bit hash and return result.