Skip to content

Function client::owner::generate_root_key

zaun_community_protocol::client::owner::generate_root_key · Function

pub fn generate_root_key() -> Result<SecretKey, RngError>

Generates a fresh root key: the community’s identity. Store it sealed; it cannot be recovered (ADR-0011).

RngError when the OS CSPRNG fails.

Full rustdoc page