Liking cljdoc? Tell your friends :D

com.timezynk.useful.cipher

AES cipher. Implementation inspired by
http://stackoverflow.com/questions/992019/java-256bit-aes-encryption/
raw docstring

aes-decryptclj

(aes-decrypt aes-key bytes)

Decrypt the byte array with the given key. The first 16 bytes of the byte array must be the IV.

Decrypt the byte array with the given key. The first 16 bytes of the
byte array must be the IV.
raw docstring

aes-encryptclj

(aes-encrypt aes-key bytes)

Encrypt the byte array with the given key. Returns a byte-array with the first 16-bytes being the IV, suitable for decryption with aes-decrypt

Encrypt the byte array with the given key. Returns a byte-array
with the first 16-bytes being the IV, suitable for decryption with
aes-decrypt
raw docstring

aes-keyclj

(aes-key password salt bits)

Generate AES key from the given password and salt. Salt should be eight characters long. Bits can be 128, 192 or 256.

Generate AES key from the given password and salt. Salt should be eight
characters long. Bits can be 128, 192 or 256.
raw docstring

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

× close