patch_seq_crypto_ed25519_verify

Function patch_seq_crypto_ed25519_verify 

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

Verify an Ed25519 signature

Stack effect: ( message signature public-key – valid )

Parameters:

  • message: The original message
  • signature: Hex-encoded 64-byte signature (128 hex characters)
  • public-key: Hex-encoded 32-byte public key (64 hex characters)

Returns:

  • valid: Bool indicating whether the signature is valid

§Safety

Stack must have String, String, String values on top