class NaCl::Signatures::Ed25519::VerifyKey
- NaCl::Signatures::Ed25519::VerifyKey
- Reference
- Object
Included Modules
Defined in:
nacl/signatures/ed25519/verify_key.crConstructors
-
.new(key : Bytes)
Create a new VerifyKey object from a public key.
Class Method Summary
Instance Method Summary
- #bytes : Slice(UInt8)
- #signature_bytes
-
#verify(signature, message)
Verify a signature for a given message
Instance methods inherited from module NaCl::Serializable
inspect
inspect,
to_s
to_s
Instance methods inherited from module NaCl::KeyComparator
<=>(other)
<=>,
==(other)
==,
compare32(other)
compare32
Constructor Detail
Class Method Detail
Instance Method Detail
def verify(signature, message)
#
Verify a signature for a given message
Raises if the signature is invalid.