Skip to content

Latest commit

 

History

History
68 lines (30 loc) · 1.43 KB

Hash.md

File metadata and controls

68 lines (30 loc) · 1.43 KB

Module 0x1::Hash

Module which defines SHA hashes for byte vectors.

The functions in this module are natively declared both in the Move runtime as in the Move prover's prelude.

Function sha2_256

public fun sha2_256(data: vector<u8>): vector<u8>
Implementation
native public fun sha2_256(data: vector<u8>): vector<u8>;

Function sha3_256

public fun sha3_256(data: vector<u8>): vector<u8>
Implementation
native public fun sha3_256(data: vector<u8>): vector<u8>;