Skip to main content

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;