[Catalyst] Encrypt /Decrypt URI

Christopher H. Laco claco at chrislaco.com
Fri May 18 19:01:16 GMT 2007


Matija Grabnar wrote:
> Bill Moseley wrote:
>> What you are proposing is if item 7 is instead encoded as
>> 84bc3da1b3e33a18e8d5e1bdd7a18d7a then they are less likely to try
>> other numbers because of, ... why?  Because it's too daunting of a task?
>> It's a big scary md5 instead of a primary key?
>>   =

> Well, in a way. Because the space they need to search to find the "next"
> item in a md5 or similar scheme is many orders of magnitude larger than
> in a system where the numbers are consecutive  (i.e. o(1)).

That's why I just use uuids and be done with it, if not as pks, then at
least as an alternate key for external references to a resource.

But I giress...
/me trots back to coding...awaiting his Catalyst beer stein.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070518/8c5d=
ad59/signature.pgp


More information about the Catalyst mailing list