Block chaining and string encryption for use with any block cipher.
Expand a key preparing it for use with encrypt or decrypt.
Default configuration.
Encrypt a string.
Decrypt a string created with encrypt.
A random generator that takes and returns a standard Elm Seed.
Convert a list of integers into a list of blocks.
The end of the last block will always be #x80 plus zeroes. If all the blocks are full, and the last byte is NOT zero or #x80, then no padding is added.
Convert a list of blocks into a list of integers.
Put a 0x80 at the end of the last block, and pad with zeroes.
No padding is done if the last block is of the blockSize, and does NOT already end with 0 or 0x80.
Remove the padding added by padLastBlock from the last block in a list.
Strip the trailing zeroes from a block.
Default key type.