class Amber::Support::MessageVerifier
Defined in:
amber/support/message_verifier.cr
Constructors
Instance Method Summary
Constructor Detail
def self.
new(secret :
String, digest : Symbol =
:sha1)
#
Instance Method Detail
def
generate(value :
String | Bytes)
#
def
valid_message?(data, digest)
#
def
verified(signed_message :
String)
#
def
verify(signed_message) :
String
#
def
verify_raw(signed_message :
String) : Bytes
#
Keyboard Shortcuts
× - s, / Search
- Esc Abort search / Close modal
- ⇨, Enter Open highlighted result
- ⇧, Ctrl+j Select previous result
- ⇩, Ctrl+k Select next result
- ? Show usage info