Re: MIME vs. DIME vs. ...

Eric Rescorla <[email protected]> Sun, 14 Apr 2002 11:43:31 -0700
Newsgroups gmane.comp.windows.devel.dime
Message-ID <[email protected]>
Larry Masinter <[email protected]> writes:
> I think the issues are: footprint of code, reliability,
> consistency. MIME with content-length isn't MIME;
> MIME multipart is difficult to create 'reliably'
> (because of the difficulty of choosing separators that
> are guaranteed to not appear in the body),
It's not particularly difficult to create separators that
are guaranteed not to appear in the message body, simply use
a cryptographically secure PRNG to generate a suitably
large random number (160-bits should be plenty).

-Ekr

[0] I often see people argue that probabilistically unique
values aren't "guaranteed" to be unique. I don't find this
argument convincing. A probability of 2^-80 is good enough
for essentially any purpose.

--
[Eric Rescorla                                   [email protected]]
                http://www.rtfm.com/