Liking cljdoc? Tell your friends :D

lupacrypto.core


base64-decodeclj

(base64-decode data)
source

base64-encodeclj

(base64-encode data)
source

base64-random-bytesclj

(base64-random-bytes num-bytes)

Generates a random buffer of num-bytes bytes and returns it as a Base64 encoded string

Generates a random buffer of `num-bytes` bytes and returns it as a Base64 encoded string
sourceraw docstring

bytes->strclj

(bytes->str b)
source

decryptclj

(decrypt crypto-key crypto-iv cipher data)
source

decrypt-aes-stringclj

(decrypt-aes-string s crypto-key-s crypto-iv-s)

Arguments are expected to be base64 encoded

Arguments are expected to be base64 encoded
sourceraw docstring

encryptclj

(encrypt crypto-key crypto-iv cipher data)
source

encrypt-aes-stringclj

(encrypt-aes-string s crypto-key-s crypto-iv)

Encrypt string with AES using given base64 passowrd string and IV byte array

Encrypt string with AES using given base64 passowrd string and IV byte array
sourceraw docstring

make-ivclj

(make-iv)
(make-iv num-bytes)

Random bytes for initialization vector. Default is 32

Random bytes for initialization vector. Default is 32
sourceraw docstring

make-iv-128clj

(make-iv-128)
source

str->bytesclj

(str->bytes s)
source

url-encodeclj

(url-encode s)
source

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

× close