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.