Skip to main content

generate_human_root

Function generate_human_root 

Source
pub fn generate_human_root() -> (HumanRoot, HybridPrivateKey)
Expand description

Generate a fresh HumanRoot (public + private).

Only available with the std feature (uses SystemTime::now() for created_at). In no_std environments, build the struct directly and supply your own timestamp.