class Gmaps::Support::MessageVerifier

Defined in:

gmaps/support/message_verifier.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(secret : String, digest : Symbol = :sha1) #

[View source]

Instance Method Detail

def generate(value : String | Bytes) #

[View source]
def valid_message?(data, digest) #

[View source]
def verified(signed_message : String) #

[View source]
def verify(signed_message) : String #

[View source]
def verify_raw(signed_message : String) : Bytes #

[View source]