Development Documentation (main branch) - For stable release docs, see docs.rs/eidetica

generate_keypair

Function generate_keypair 

Source
pub fn generate_keypair() -> (PrivateKey, PublicKey)
Expand description

Generate a new keypair using the default algorithm (Ed25519).

Returns a (PrivateKey, PublicKey) tuple. Uses the operating system’s cryptographically secure random number generator.