class
Message::Verifier
- Message::Verifier
- Reference
- Object
Defined in:
message/verifier.crConstructors
Instance Method Summary
- #generate(value : String | Bytes) : String
- #valid_message?(data : String, digest : String) : Bool
-
#valid_message_with_fallback?(data : String, digest : String) : Bool
Check if message is valid with fallback digest (for migration)
- #verified(signed_message : String) : String | Nil
- #verify(signed_message : String) : String
- #verify_raw(signed_message : String) : Bytes
Constructor Detail
Instance Method Detail
def valid_message_with_fallback?(data : String, digest : String) : Bool
#
Check if message is valid with fallback digest (for migration)