packages feed

Lazy-Pbkdf2 2.1.1 → 2.1.2

raw patch · 2 files changed

+4/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Crypto/Pbkdf2.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE Safe #-} module Crypto.Pbkdf2 (pbkdf2, pbkdf2_iterative) where  import Data.Bits (shiftR)@@ -38,8 +39,8 @@ -- calculating everything before it.  Compared to the standard this -- function only changes the salt for the initial PBKDF2 value of each -- iteration to include a salt iterated from earlier parts of the PBKDF2--- stream. This can be verified by removing the i from (hash $ B.concat [i,--- salt, B.pack $ octetsBE c]).+-- stream. This can be verified by removing the i from (hash $ B.concat+-- [blockSalt, salt, B.pack $ octetsBE c]). -- -- The added salt for the first iteration will be "", and all following -- will be calculated as (PRF output input), where output is the output of
Lazy-Pbkdf2.cabal view
@@ -1,5 +1,5 @@ Name:           Lazy-Pbkdf2-Version:        2.1.1+Version:        2.1.2 Author:         Marcus Ofenhed <marcus@conditionraise.se> Maintainer:     Marcus Ofenhed <marcus@conditionraise.se> License:        MIT