From: Stefano C. <cam...@ya...> - 2004-09-22 11:56:09
|
Laurian Gridinoc wrote: >I always thought at this sha1 result as an URI, I would use the >already used format of identification of resources by sha1 content sum >used in P2P software: > >urn:sha1:XSQCZ3UK3PPW6Y6HOVLTIX2QFMZ3TFFB >----------------^ base32 of sha1 sum of the content - in our case of >the n-triple > >I using for base32: com.bitzi.util.Base32: >URI urn = new URI("urn", "sha1:" + Base32.encode(sha1digest), null); > >You proposed base64, I would go for base32, theoretically we would be >able to identify (in the future) individual RDF statements over P2P >networks :) > > Hi Laurian, Where I can find an up-to-date copy of the com.bitzi.util.Base32 class ? I found it, but in the context of other projects. I'd like to get the original source. It is better to find a LGPL o more free licensed code. In this manner, in the future, we can change to" a more free open source" Platypus license. Thanks in advance. Stefano |