A Solution to the Known Plain Text Problem
Posted Jun 20, 2004 19:23 UTC (Sun) by nj
Parent article: A weak cryptoloop implementation in Linux?
Here is a proposed solution to known plain text vulnerability. I am optimistic but not confident of it's cryptographic worth and would like feedback.
Create and store a segment of random data equal in size to the data being encrypted.
XOR the user data with stored random data.
Encrypt both the random segment and the user data with conventional block cipher methods.
Since the user data was XORed with randomness, reminiscent of OTP, this would prevent usage of a precomputed dictionary against known plain text.
to post comments)