[−][src]Function ed25519::ed_verify
pub fn ed_verify(signature: &[u8], message: &[u8], public: &[u8]) -> bool
Verifies that a signature on a given message was generated by private key corresponding to the specified public key.
Arguments
signature
- The 64-byte ed25519 signature.message
- The binary message on which to verify the signature.public
- The ed25519 public key, as an array of 32 bytes
Returns
True if the signature is valid, false otherwise.