[cap-talk] Creating 32-bit capabilities, automatic capabilities by subclassing? (message for jed at the end)

Sandro Magi smagi at naasking.homeip.net
Wed May 10 08:38:59 EDT 2006


John Carlson wrote:
> On May 9, 2006, at 5:29 PM, Jed at Webstart wrote:
> 
>>> objects.  What I envision doing is using some kind of algorithm to
>>> generate a capabilities-as-data integer to pass over the internet
>>> to other people.
>> Are you talking about something like Tyler's YURLs?
>>
> 
> Something like that that would fit in an int (32-bits).  Is there an
> algorithm for creating capabilities-as-data for ints?

YURLs are just an unguessable number. And note that guessing a 32-bit
number is easily within reach of modern hardware. Assuming testing each
integer takes 1ms, a conservative estimate I think, you can fully
exhaust a 32-bit space in less than 50 days. I believe 80-bits is as
little as you can reasonably go.

Sandro


More information about the cap-talk mailing list