Re: Are ++ and -- operators really more efficient
- From: Stephen Sprunk <stephen@xxxxxxxxxx>
- Date: Wed, 21 Jan 2009 00:39:08 -0600
CBFalconer wrote:
Keith Thompson wrote:If you can describe a way to generate a 32-bit check value that
can verify the identify of the poster, please enlighten me.
Bringing it down to one line would do. As you pointed out, I am
not any form of cryptographer. But my instinct tells me something
is available. What about - take the crc (maybe a 32 or 64 bit one)
and encode that with a private key. Send the message with an
X-header, specifying the public key. So the receiver decodes the
crc, runs a crc generator on the content, and compares. Without
the private key that is hard to duplicate, which is all that is
needed. The decoding is short, thus fast. The crc generator is
fast. Instantaneous confirmation.
I am just generating some ideas. I am not especially interested in
the result; I just want to eliminate the monstrous additions to
messages. Let somebody else work it out.
In fact, you're not far off from the best known solution: hash the data with a secure algorithm like SHA1 (not a weak one like CRC), sign the result with your private key, and include the public key in the message with the signature.
The problem is that, to do it right, the amount of information required is far more significant than you seem to expect. While the signature itself will be fairly small (e.g. the size of the hash's output, 160 bits for the case of SHA1), public key certificates are not. The signature in the sample signed message I sent a few hours ago in this thread comes out to 2175 bytes before base64 encoding -- and most of that is the public key and the signature by the issuing CA. Without those, a random receiver cannot validate the (relatively small) message signature, which is the entire point. If you know who the parties are prior to receiving the message, that information only has to be exchanged once, but that does not apply on USENET (or in email, in most cases) so the overhead has to be added to every message for the system to be usable. There is provably no shortcut.
I suspect that your main problem with PGP is not actually the size but that it includes all this cruft in the message body itself, where it assaults the eyes. S/MIME uses the same (strong) high-level design as PGP, but the signature and public key certificate are not in the message body and thus can be easily ignored by news (or mail) readers that aren't interested in them. MIME has been around long enough that virtually all software understands it, even if many programs still don't understand S/MIME signatures or what to do with them.
S
--
Stephen Sprunk "Stupid people surround themselves with smart
CCIE #3723 people. Smart people surround themselves with
K5SSS smart people who disagree with them." --Isaac Jaffe
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
- Follow-Ups:
- Re: Are ++ and -- operators really more efficient
- From: Mark Wooding
- Re: Are ++ and -- operators really more efficient
- References:
- Are ++ and -- operators really more efficient
- From: Sac
- Re: Are ++ and -- operators really more efficient
- From: Falcon Kirtaran
- Re: Are ++ and -- operators really more efficient
- From: Ian Collins
- Re: Are ++ and -- operators really more efficient
- From: Falcon Kirtaran
- Re: Are ++ and -- operators really more efficient
- From: dj3vande
- Re: Are ++ and -- operators really more efficient
- From: CBFalconer
- Re: Are ++ and -- operators really more efficient
- From: Mark Wooding
- Re: Are ++ and -- operators really more efficient
- From: CBFalconer
- Re: Are ++ and -- operators really more efficient
- From: Keith Thompson
- Re: Are ++ and -- operators really more efficient
- From: CBFalconer
- Re: Are ++ and -- operators really more efficient
- From: Keith Thompson
- Re: Are ++ and -- operators really more efficient
- From: CBFalconer
- Are ++ and -- operators really more efficient
- Prev by Date: Re: hi
- Next by Date: Re: struct problems
- Previous by thread: Re: Are ++ and -- operators really more efficient
- Next by thread: Re: Are ++ and -- operators really more efficient
- Index(es):
Relevant Pages
|