Skip to content

std::crypto::sha512

Status: experimental

SHA-512 hashing.

API details and source

The implementation source contains the complete declarations and implementation notes. The table below lists canonical Gossamer call signatures; every item name links directly to its implementation file.

Item Canonical signature or declaration Description
digest fn digest(data: Vec<u8>) -> Vec<u8> Returns the 64-byte digest of an input.
hex fn hex(text: String) -> String Returns the digest as lowercase hex.