correct a typo in PBKDF2
This commit is contained in:
parent
3c3910cb34
commit
04912a180a
@ -45,7 +45,7 @@ prfHMAC alg k = hmacIncr alg (HMAC.initialize k)
|
||||
-- | Parameters for PBKDF2
|
||||
data Parameters = Parameters
|
||||
{ password :: ByteString -- ^ Password (bytes encoded)
|
||||
, salt :: ByteString -- ^ Salut (bytes encoded)
|
||||
, salt :: ByteString -- ^ Salt (bytes encoded)
|
||||
, iterCounts :: Int -- ^ the number of user-defined iterations for the algorithms. e.g. WPA2 uses 4000.
|
||||
, outputLength :: Int -- ^ the number of bytes to generate out of PBKDF2
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user