Skip to content

Function crypto::community_id

zaun_community_protocol::crypto::community_id · Function

pub fn community_id(genesis_root: &PublicKey) -> CommunityId

CommunityId = SHA3-256("zaun/community-id/v1" ‖ 0x00 ‖ genesis root key), over the 1 985-byte encoding including the suite byte. Always the genesis key.

Full rustdoc page