Crypt::Signer
Sign and verify given data.
Constants
INVALID_SIGN = "Not valid"
SIGN_SEP = "__--"
Constructors
Class methods
Instance methods
Generates signed data. Returns an URL and filename safe alphabet (RFC 4648).
Verify and decode. error_message allows to customize the error message when the signature is not valid.
Verify and decode.
It is recommended to use
verifywhich has a more precise return (returnsStringor raises aSignatureError).
Verify and decode. error_message allows to customize the error message when the signature is not valid.
This method can produce a different error message than error_message.