|
From: <pe...@us...> - 2003-12-08 19:32:37
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/store In directory sc8-pr-cvs1:/tmp/cvs-serv11933/src/java/org/neuclear/store Modified Files: EncryptedFileStore.java Log Message: Added support for the http scheme into ID. See http://neuclear.org/archives/000195.html Index: EncryptedFileStore.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/store/EncryptedFileStore.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** EncryptedFileStore.java 6 Dec 2003 00:17:04 -0000 1.15 --- EncryptedFileStore.java 8 Dec 2003 19:32:32 -0000 1.16 *************** *** 2,5 **** --- 2,8 ---- * $Id$ * $Log$ + * Revision 1.16 2003/12/08 19:32:32 pelle + * Added support for the http scheme into ID. See http://neuclear.org/archives/000195.html + * * Revision 1.15 2003/12/06 00:17:04 pelle * Updated various areas in NSTools. *************** *** 235,239 **** protected final String getFileName(final String name) throws NeuClearException { final String deURLizedName = NSTools.normalizeNameURI(name); ! final byte[] hash = CryptoTools.formatAsBase36(CryptoTools.digest256(deURLizedName.getBytes())).getBytes(); //if (true) return new String(hash); final int partlength = hash.length / 8; --- 238,242 ---- protected final String getFileName(final String name) throws NeuClearException { final String deURLizedName = NSTools.normalizeNameURI(name); ! final byte[] hash = CryptoTools.formatAsBase36 (CryptoTools.digest256(deURLizedName.getBytes())).getBytes(); //if (true) return new String(hash); final int partlength = hash.length / 8; |