patch_seq_crypto_ed25519_keypair

Function patch_seq_crypto_ed25519_keypair 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_crypto_ed25519_keypair( stack: Stack, ) -> Stack
Expand description

Generate an Ed25519 keypair

Stack effect: ( – public-key private-key )

Returns:

  • public-key: Hex-encoded 32-byte public key (64 hex characters)
  • private-key: Hex-encoded 32-byte private key (64 hex characters)

§Safety

Stack must be valid