News for hackers. Stuff that matters.
Re:Misfired e-mail was never viewed by Gmail user by dchest on Wednesday September 30, 2009 @02:26PM (#853266)
Easy: encrypt a random encryption key with password (I mean, with a key derived from password). Then encrypt content with this random key. When user changes password, re-encrypt the same key using a new password. No need to re-encrypt contents, because it's still encrypted with the same key.

This is how it's done in most disk encryption software, for example, FileVault.

There are no comments on this comment yet.