pub fn sha3_256(data: &[u8]) -> [u8; 32]Expand description
Computes the SHA3-256 hash of the input.
This is used for Ed25519 signatures and authentication key derivation.
ยงExample
use aptos_sdk::crypto::sha3_256;
let hash = sha3_256(b"hello world");
assert_eq!(hash.len(), 32);