Liking cljdoc? Tell your friends :D

kpow.secure


->mapclj

(->map text)
source

->propsclj

(->props text)
source

-mainclj

(-main & args)
source

cipher-algorithmclj

source

cipher-bytesclj

(cipher-bytes secret-key iv-spec plaintext)

Produce cipher-text from key / iv / plaintext input

Produce cipher-text from key / iv / plaintext input
sourceraw docstring

cli-optionsclj

source

decoded-textclj

(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
sourceraw docstring

decryptedclj

(decrypted payload-text)
(decrypted key-text payload-text)
source

encoded-payloadclj

(encoded-payload secret-key plaintext)

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
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
sourceraw docstring

encryptedclj

(encrypted plaintext)
(encrypted key-text plaintext)
source

file-textclj

(file-text file)
source

kpow-secure-keyclj

source

kpow-secure-key-locationclj

source

load-keyclj

source

log-textclj

(log-text text encrypt?)
source

lookup-keyclj

(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
sourceraw docstring

plaintextclj

(plaintext secret-key iv-spec cipher-bytes)

Produce plaintext from key / iv / cipher-bytes input

Produce plaintext from key / iv / cipher-bytes input
sourceraw docstring

prefixclj

source

prefixed?clj

(prefixed? input)
source

processclj

(process encrypt? key-text target-text out-file)
source

random-ivclj

(random-iv)

Generate a 16-byte random IvParameterSpec

Generate a 16-byte random IvParameterSpec
sourceraw docstring

scheme-v1clj

source

text-fileclj

(text-file text file encrypt?)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close