crypto.ecc_verify

crypto

ecc_verify(pub_key, msg, sig) -> ok, err

Verify an ECC P-256 signature

Counterpart to ecc_sign. pub_key is the raw uncompressed public point, sig is the 64-byte r||s signature. Returns true on success, nil and an error message on failure.