The module provide sha-hash functionality for Move.
public fun sha2_256(data: vector<u8>): vector<u8>
Implementation
native public fun sha2_256(data: vector<u8>): vector<u8>;
public fun sha3_256(data: vector<u8>): vector<u8>
Implementation
native public fun sha3_256(data: vector<u8>): vector<u8>;
public fun keccak_256(data: vector<u8>): vector<u8>
Implementation
native public fun keccak_256(data: vector<u8>): vector<u8>;
public fun ripemd160(data: vector<u8>): vector<u8>
Implementation
native public fun ripemd160(data: vector<u8>): vector<u8>;
pragma verify;
pragma aborts_if_is_strict;