Skip to content

Latest commit

 

History

History
54 lines (24 loc) · 1.27 KB

ed25519.md

File metadata and controls

54 lines (24 loc) · 1.27 KB

Module 0x2::ed25519

Function ed25519_verify

@param signature: 32-byte signature that is a point on the Ed25519 elliptic curve. @param public_key: 32-byte signature that is a point on the Ed25519 elliptic curve. @param msg: The message that we test the signature against.

If the signature is a valid Ed25519 signature of the message and public key, return true. Otherwise, return false.

public fun ed25519_verify(signature: &vector<u8>, public_key: &vector<u8>, msg: &vector<u8>): bool
Implementation
public native fun ed25519_verify(signature: &vector<u8>, public_key: &vector<u8>, msg: &vector<u8>): bool;
Specification
pragma opaque;
aborts_if [abstract] true;