Liking cljdoc? Tell your friends :D

fluree.crypto.aes


decryptclj/s

(decrypt x
         key
         &
         [{:keys [iv input-format output-format]
           :or {iv [6 224 71 170 241 204 115 21 30 8 46 223 106 207 55 42]
                input-format :hex
                output-format :string}}])

Decrypts with AES/CBC/PKCS{5/7}Padding by hashing a 256 bit key out of key. You can provide an alternate initial vector of unsigned(!) bytes of size 16 for CBC.

Decrypts with AES/CBC/PKCS{5/7}Padding by hashing a 256 bit key out of key.
You can provide an alternate initial vector of unsigned(!) bytes of size 16 for CBC.
raw docstring

decrypt*clj/s

(decrypt* iv key-ba x-ba)

encryptclj/s

(encrypt x
         key
         &
         [{:keys [iv output-format]
           :or {iv [6 224 71 170 241 204 115 21 30 8 46 223 106 207 55 42]
                output-format :hex}}])

Encrypts with AES/CBC/PKCS{5/7}Padding by hashing a 256 bit key out of key (requires Unlimited Strength crypto to be enabled). You can provide an alternate initial vector of unsigned(!) bytes of size 16 for CBC.

Encrypts with AES/CBC/PKCS{5/7}Padding by hashing a 256 bit key out
of key (requires Unlimited Strength crypto to be enabled).
You can provide an alternate initial vector of unsigned(!) bytes of size 16 for CBC.
raw docstring

encrypt*clj/s

(encrypt* iv key-ba ba)

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

× close