|
|||||||||||
|
RE: PGP scripting...
From: Beatie, Breck (ISSMountain View) <BBeatie(at)iss.net>
Date: Wed Jan 22 2003 - 15:27:01 EST
Thanks again. Breck
-----Original Message-----
Beatie, Breck (ISSMountain View) wrote: > > Please do not use public key encryption for bulk data, even if
I think that you're misinterpreting the term "bulk data" slightly; it is referring to the actual plaintext (subject to any transformations such as compression), not necessarily to a *large* amount of data. The context may greatly reduce the set of possible plaintexts, even below the size of a symmetric key. Suppose that you can guess almost the entire plaintext (e.g. because it's generated automatically by a specific piece of software), and the only thing which you *can't* guess is a very small section e.g. a credit card number, you could attempt a brute-force search of all plausible credit card numbers, which is likely to be easier than brute-forcing a 128-bit symmetric key. To take an extreme (and somewhat contrived) example, suppose that you know that the message will either be "The deal is on" or "The deal is off"; although the message would occupy at least 112 bits as ASCII, you only really have one bit of data, and you would only have to encrypt the two candidate messages to determine which one was actually sent. In short, with the two-stage approach, you have a fixed lower bound on the number of possible plaintexts, and for a 128-bit key, this is well beyond brute-force viability with current hardware, even for the NSA. OTOH, directly encrypting the plaintext provides no such lower bound. -- Glynn ClementsReceived on Wed Jan 22 16:20:27 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:45 EDT |
||||||||||
|
|||||||||||