pub fn generate_keypair() -> Result<(SecretKey, PublicKey), XWingError>Expand description
Generate an X-Wing keypair.
See SecretKey for a usage example. Returns XWingError::Random
when the operating system’s random number generator is unavailable or
fails.