ietf-openpgp
[Top] [All Lists]

Re: question about section 3.6.1.1 simple s2k: how does preloading work?

2000-05-12 08:09:37
The "preloading" means to hash the preloaded data.  In other words,
the preloaded data is a prefix to the rest of the data to be hashed.
It is not inserted directly into the state variables.

Without preloading, you would do hash(data).  Preloading one byte of
zero you would do hash(0,data).  Preloading two bytes of data you would
do hash(0,0,data), and so on, where the commas represent concatenation.

Hal

<Prev in Thread] Current Thread [Next in Thread>