changed PWSalt default size to 32 bytes (256 bits)
This commit is contained in:
1 parent
570cfe4af2
commit
2cb10b263e
2 files changed
+2
-2
No files matched your search
@@ -36,7 +36,7 @@ tests = TestLabel "newPWSalt" $ TestList
|
||||
(salt', _) = newPWSalt g'
|
||||
g = mkStdGen 1
|
||||
|
||||
testLength x = TestLabel "salt length" $ B.length x ~?= 256
|
||||
testLength x = TestLabel "salt length" $ B.length x ~?= 32
|
||||
|
||||
testDiff x y = TestLabel "different generators" $ TestCase $
|
||||
assertBool "salts match" $ x /= y
|
||||
|
||||
Reference in new issue
Block a user