[tahoe-dev] [tahoe-lafs] #1213: Should support change of hash functions
tahoe-lafs
trac at tahoe-lafs.org
Tue Sep 28 12:24:30 UTC 2010
#1213: Should support change of hash functions
--------------------+-------------------------------------------------------
Reporter: ruudud | Owner: somebody
Type: task | Status: new
Priority: major | Milestone: undecided
Component: code | Version: 1.8.0
Keywords: | Launchpad Bug:
--------------------+-------------------------------------------------------
It should be relatively easy to change e.g. SHA-256d to other hash
functions.
When doing the following in util/hashutil.py, several tests break:
# from pycryptopp.hash.sha256 import SHA256
from sha3 import BlueMidnightWish as SHA256
BlueMidnightWish is one of the 14 remaining candidates of the NIST SHA-3
competition, and the implementation tested has an output of 256 bits.
The tests probably contains fixtures that have been created using SHA-256,
but none the less, attached is the output from the tests.
That simple import trick is enough to get immutable file upload to work,
but at least mutable files and the webgui fail.
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1213>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-dev
mailing list