Re: [Jsdsi-users] extending jsdsi.Tag
Status: Pre-Alpha
Brought to you by:
sajma
From: Sean R. <sra...@ae...> - 2004-04-28 22:37:49
|
On Wed, 2004-04-28 at 18:38, Guillermo Navarro wrote: > Hi, > > Thanks for your interest. I'm still working on it and as you said I > may find a way to encode the tags so I can use the existing tags (I'm > testing several approaches). > > At the moment I use a tag which looks like: > > (tag (my-kind-of-auth (index 3) (id 453455) (val <byte-string>))) > > It is an element of a hash chain. The "val" is an element "index" of > the hash chain "id". > > The intersection function, is something like: given two tags, the > resulting intersection is the one with a lower index, only if both > id's are equal, and we can verify the value of the corresponding hash, > otherwise the intersection is null. > As an idea, could the 'index' be a SetTag, where index 3 equates to (index (* set 1 2 3)). Therefore the intersection of (index (* set 1 2 3 4)) and (index (* set 1 2)) is (index (* set 1 2)). Unsure of what you mean about verifying the value of the hash. Is the hash the bytes-string in (val (byte-string))? What is it a hash of? > As I said, I'm still working on it and I'm not sure how will it end > (if this ends in anything). I will let you know more details as soon > as I have more details or something more sound (I'm in a very > primitive stage). Thanks anyway. > That's fine. Will be glad to try and help. Regards, Sean -- Dr. Sean Radford, MBBS, MSc sra...@ae... http://www.aegeus-technology.com |