ietf-openpgp
[Top] [All Lists]

Re: [openpgp] 4880bis: Update S2K

2015-04-24 06:51:49
On Fri, 24 Apr 2015 09:19, openpgp(_at_)brainhub(_dot_)org said:

2. The Iterated S2K is essentially a

   M = M1 || M2 || M2 || M2 || ... || M2, where M1 includes the salt.
   S2K = Hash( M )

Actually M2 also includes the salt:

|  Then the salt, followed by the passphrase data, is repeatedly hashed
|  until the number of octets specified by the octet count has been
|  hashed.  [...]


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

_______________________________________________
openpgp mailing list
openpgp(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/openpgp