User: Password:
Subscribe / Log in / New account

A Solution to the Known Plain Text Problem

A Solution to the Known Plain Text Problem

Posted Jun 20, 2004 19:23 UTC (Sun) by nj (guest, #22465)
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.

The procedure:
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.

(Log in to post comments)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds