(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
(decrypt-aes-string s crypto-key-s crypto-iv-s)
Arguments are expected to be base64 encoded
Arguments are expected to be base64 encoded
(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
(make-iv)
(make-iv num-bytes)
Random bytes for initialization vector. Default is 32
Random bytes for initialization vector. Default is 32
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close