cryptonite/Crypto/Cipher
Luke Taylor a8c80e9531 Add a check for salt length in bcrypt function
Raises an error (as the original doc claimed) if the salt is not the
required length of 16 bytes.

validatePasswordEither doesn't require separate checking since the hash
length as a whole is checked, implicitly ensuring the salt is the right
length. Therefore it shouldn't be possible to trigger the error by
calling this function.

Fixes #93.
2016-08-22 13:41:42 +02:00
..
AES Remove unused AES primitives functions and exports 2015-06-09 11:45:39 +02:00
Blowfish Add a check for salt length in bcrypt function 2016-08-22 13:41:42 +02:00
Camellia add comments and description 2015-05-20 06:07:31 +01:00
DES add comments and description 2015-05-20 06:07:31 +01:00
Types Minor haddock fixes 2015-06-07 13:26:26 +02:00
AES.hs [AES] fix wrongly indented comment 2015-07-19 17:51:00 +01:00
Blowfish.hs add optional support for deepseq 2015-05-22 18:35:46 +01:00
Camellia.hs start cleaning up Camellia 2015-04-09 07:41:15 +01:00
ChaCha.hs add optional support for deepseq 2015-05-22 18:35:46 +01:00
ChaChaPoly1305.hs [ChaChaPoly1305] fix type error of example code 2015-12-03 18:05:04 +00:00
DES.hs move to memory stuff 2015-05-09 14:23:32 +01:00
RC4.hs add optional support for deepseq 2015-05-22 18:35:46 +01:00
Salsa.hs add optional support for deepseq 2015-05-22 18:35:46 +01:00
TripleDES.hs move to memory stuff 2015-05-09 14:23:32 +01:00
Types.hs remove warnings 2015-04-20 06:02:12 +01:00