Json Web Encryption.
Json Web Encryption.
(decode input key)
(decode input key {:keys [alg enc] :or {alg :dir enc :a128cbc-hs256} :as opts})
Decrypt the jwe compliant message and return its payload.
Decrypt the jwe compliant message and return its payload.
(decode-header input)
Given a message, decode the header. WARNING: This does not perform any signature validation.
Given a message, decode the header. WARNING: This does not perform any signature validation.
(decrypt input key)
(decrypt input key {:keys [alg enc] :or {alg :dir enc :a128cbc-hs256} :as opts})
Decrypt the jwe compliant message and return its payload.
Decrypt the jwe compliant message and return its payload.
(encode payload
key
&
[{:keys [alg enc zip header]
:or {alg :dir enc :a128cbc-hs256 zip false}
:as opts}])
Encrypt then sign arbitrary length string/byte array using json web encryption.
Encrypt then sign arbitrary length string/byte array using json web encryption.
(encrypt payload
key
&
[{:keys [alg enc zip header]
:or {alg :dir enc :a128cbc-hs256 zip false}
:as opts}])
Encrypt then sign arbitrary length string/byte array using json web encryption.
Encrypt then sign arbitrary length string/byte array using json web encryption.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close