(cipher-bytes secret-key iv-spec plaintext)
Produce cipher-text from key / iv / plaintext input
Produce cipher-text from key / iv / plaintext input
(decoded-text secret-key encoded-payload)
Validate the payload parts, then produce plaintext original of input cipher-text
Validate the payload parts, then produce plaintext original of input cipher-text
(encoded-payload secret-key plaintext)
Produce a payload with format:
Produce a payload with format: * 1 byte scheme version (currently hard-coded to '1') * 1 byte initialization vector length (v1 scheme expects 16 bytes) * Initialization vector of size ^ * Cipher text
(lookup-key)
Retrieve an encoded encryption key from the kpow-secure-key environment variable or location
Retrieve an encoded encryption key from the kpow-secure-key environment variable or location
(plaintext secret-key iv-spec cipher-bytes)
Produce plaintext from key / iv / cipher-bytes input
Produce plaintext from key / iv / cipher-bytes input
(random-iv)
Generate a 16-byte random IvParameterSpec
Generate a 16-byte random IvParameterSpec
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close