-- When we are using a cypher in block mode, we need to ensure we are using a
-- proper padding, otherwise an attacker can determine the message length of
-- the last block.
--
-- It is tempting to think that paddingBytes = cypherBits / 8, but the
-- cypher bits is the *key* length, not the block length. AES uses
-- a fixed block length, according to Wikipedia:
--
-- "AES is a variant of Rijndael which has a fixed block size of 128
--  bits"
--
--  http://en.wikipedia.org/wiki/Advanced_Encryption_Standard
paddingBytes :: Int
paddingBytes = quot 128 8
paddingBytes :: Int
paddingBytes = quot 128 8
paddingBytes = quot 128 8