ItsDangerous Signature implementation.
ItsDangerous Signature implementation.
(sign
payload
pkey
&
[{:keys [alg salt timestamp] :or {alg :hs1 salt "itsdangerous"} :as opts}])
Sign arbitrary length string/byte array using json web token/signature.
Sign arbitrary length string/byte array using json web token/signature.
(unsign input
pkey
{:keys [alg salt max-age] :or {alg :hs1 salt "itsdangerous"}})
Given a signed message, verify it and return the decoded payload.
Given a signed message, verify it and return the decoded payload.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close