cryptonite/Crypto/Cipher/Blowfish
Luke Taylor fb66c35f46 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-07-27 17:45:33 +02:00
..
Box.hs [blowfish] remove unnecessary list of word32 for the schedule 2015-08-27 10:57:28 +01:00
Primitive.hs Add a check for salt length in bcrypt function 2016-07-27 17:45:33 +02:00