vincenthz / hs-cipher-aes

DEPRECATED - use cryptonite - a comprehensive fast AES implementation for haskell that supports aesni and advanced cryptographic modes.
Other
22 stars 15 forks source link

Added case to check for ECB encryption on empty strings. #34

Open kelbyludwig opened 9 years ago

kelbyludwig commented 9 years ago

Encrypting an empty string in ECB mode causes a divide by zero error. This is a bit more helpful.