Verifies that a signature covers a payload and was made by a public key.
Returns false when the payload was altered or was signed by a different device, and throws only when an argument is the wrong length.
false
Verifies that a signature covers a payload and was made by a public key.
Returns
falsewhen the payload was altered or was signed by a different device, and throws only when an argument is the wrong length.