def verify(signature, message)
      if signature.length != SIGNATURE_SIZE
        raise ArgumentError, "expected #{SIGNATURE_SIZE} byte signature, got #{signature.length}"
      end

      return true if Ed25519.provider.verify(@key_bytes, signature, message)
      raise VerifyError, "signature verification failed!"
    end
def verify(signature, message)
      if signature.length != SIGNATURE_SIZE
        raise ArgumentError, "expected #{SIGNATURE_SIZE} byte signature, got #{signature.length}"
      end

      return true if Ed25519.provider.verify(@key_bytes, signature, message)
      raise VerifyError, "signature verification failed!"
    end
Create a Ed25519::VerifyKey from its serialized Twisted Edwards representation

 @param key [String] 32-byte string representing a serialized public key
 Verify an Ed25519 signature against the message

 @param signature [String] 64-byte string containing an Ed25519 signature
 @param message [String] string containing message to be verified

 @raise Ed25519::VerifyError signature verification failed

 @return [true] message verified successfully