[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Canonical form for signing S-expressions



Carl Ellison <cme@cybercash.com> writes:

> 
> At 05:11 PM 4/14/97 -0400, Derek Atkins wrote:
> >Mostly, I just want the encoding to be as compact as possible.  I'd
> >prefer binary encoding (as opposed to decimal or hex), but that opens
> >up other problems which I doub this group is interested in tackling.
> 
> Binary encoding of lengths, as in the -00 proposal, is always possible
> but to do it simply we need to establish a maximum length of things --
> by choosing a width of the length field (e.g., 2 bytes).

Or somehow encode a length-of-length in there, yea...  This is part
of the can or worms I was trying to avoid. ;)

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/      PP-ASEL      N1NWH
       warlord@MIT.EDU                        PGP key available

References: