Back

encrypt (clj)

(source)

function

(encrypt payload key) (encrypt payload key {:keys [alg enc zip header], :or {alg :dir, enc :a128cbc-hs256, zip false}})
Encrypt then sign arbitrary length string/byte array using json web encryption

Examples