Liking cljdoc? Tell your friends :D

wagoe.user.shell.sealed

Encrypted, short-lived cookie values that carry one sign-in step to the next without server state.

Encrypted, short-lived cookie values that carry one sign-in step to the
next without server state.
raw docstring

derive-keyclj

(derive-key purpose secret)

The 32-byte key for one use, purpose, of secret: a key per use, so a value sealed for one cannot be opened by another.

The 32-byte key for one use, `purpose`, of `secret`: a key per use, so a
value sealed for one cannot be opened by another.
sourceraw docstring

sealclj

(seal key typ claims ttl)

Encrypt claims under the 32-byte key for a cookie of kind typ that expires in ttl seconds.

Encrypt `claims` under the 32-byte `key` for a cookie of kind `typ` that
expires in `ttl` seconds.
sourceraw docstring

unsealclj

(unseal key typ value)

The claims of a sealed value of kind typ, or nil when it is absent, forged, expired, or sealed for another step.

The claims of a sealed value of kind `typ`, or nil when it is absent,
forged, expired, or sealed for another step.
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