class Launch::Support::MessageVerifier

Defined in:

launch/support/message_verifier.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

blank? blank?, present? present?

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]