Liking cljdoc? Tell your friends :D

jose.jwe


decryptclj

(decrypt key compact)

Decrypts a compact JWE and returns {:payload string :payload-bytes bytes :header map}.

Decrypts a compact JWE and returns {:payload string :payload-bytes bytes :header map}.
sourceraw docstring

decrypt-jsonclj

(decrypt-json key json)

Parses and decrypts flattened or general JWE JSON.

Parses and decrypts flattened or general JWE JSON.
sourceraw docstring

encryptclj

(encrypt key payload-value)
(encrypt key payload-value opts)

Encrypts a string or byte-array payload and returns a compact JWE string.

Encrypts a string or byte-array payload and returns a compact JWE string.
sourceraw docstring

encrypt-jsonclj

(encrypt-json key-or-keys payload-value opts)

Encrypts flattened or general JWE JSON with protected and unprotected headers.

Encrypts flattened or general JWE JSON with protected and unprotected headers.
sourceraw docstring

(header compact)

Returns the unverified compact JWE header as a Clojure map.

Returns the unverified compact JWE header as a Clojure map.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close