From: Gordon M. <go...@us...> - 2003-04-13 03:45:10
|
Update of /cvsroot/bitcollider/jbitprint In directory sc8-pr-cvs1:/tmp/cvs-serv18284 Added Files: .classpath README.txt .project Log Message: refactoring/simplification under com.bitzi.util --- NEW FILE: .classpath --- <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="lib" path="lib/cryptix-jce-provider.jar"/> <classpathentry kind="output" path="bin"/> </classpath> --- NEW FILE: README.txt --- Class Bitprint computes the Bitzi Bitprint of a given byte stream, which is the concatenation of the SHA1 and TigerTree values for that stream. (When displayed as text, the SHA1 and TigerTree values are Base32 encoded separately, and separated with a period ('.').) Class TigerTree computes the THEX [1] tree hash of a given byte stream, using the Tiger[2] hash as the internal algorithm. Relies on the implementation of the underlying Tiger algorithm from the Cryptix JCE. [3] The full 20030217 distro of the Cryptix JCE is included under $module/lib/package-ref/ for reference. The requisite JARs from that distro are included under $module/lib/. (Only the 'provider' JAR is actually necessary for JRE1.4 and above; see the Cryptix readme for more details.) Class Base32 converts byte arrays to and from Base-32 notation[4]. Class HashUrns, when given a file, prints several hash-derived URNs for that file. For example: >java com.bitzi.util.HashUrns zero-length-file urn:sha1:3I42H3S6NNFQ2MSVX7XZKYAYSCX5QBYJ urn:tree:tiger/:LWPNACQDBZRYXW3VHJVCJ64QBZNGHOHHHZWCLNQ urn:bitprint:3I42H3S6NNFQ2MSVX7XZKYAYSCX5QBYJ.LWPNACQDBZRYXW3VHJVCJ64QBZNGHOHHHZWCLNQ - Gordon Mohr go...@bi... 2003/04/12 [1] http://www.open-content.net/specs/draft-jchapweske-thex-01.html [2] http://www.cs.technion.ac.il/~biham/Reports/Tiger/ [3] http://www.cryptix.org [4] http://www.ietf.org/internet-drafts/draft-josefsson-base-encoding-04.txt --- NEW FILE: .project --- <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>Bitcollider-JBitprint</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectDescription> |