Hi! ~~~ On 03/15/2012 04:48 PM, Carsten Wentzlow wrote: > On 03/15/2012 03:41 PM, Tankred Hase wrote: >> 1. Is 'prefixrandom' like an initialization vector? If so, I can't choose >> it randomly for deterministic encryption for obvious reasons. So I also >> derive it from the sha1 hash right now. Need to research how to do this >> correctly though.
To answer your question ;) : You don't need the prefix random on decryption. You can easily use secure random data for the prefix during encryption and don't need to store it somewhere. On decryption it will be checked, and removed from the plaintext data. best regards carsten _______________________________________________ http://openpgpjs.org

