Skip to main content

generate_root_key

Function generate_root_key 

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

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

§Errors

RngError when the OS CSPRNG fails.