tahoe-lafs/src/allmydata/util
Brian Warner c049941529 move almost all hashing to SHA256, consolidate into hashutil.py
The only SHA-1 hash that remains is used in the permutation of nodeids,
where we need to decide if we care about performance or long-term security.
I suspect that we could use a much weaker hash (and faster) hash for
this purpose. In the long run, we'll be doing thousands of such hashes
for each file uploaded or downloaded (one per known peer).
2007-06-07 21:47:21 -07:00
..
__init__.py move all packages into src/, fix allmydata.Crypto build. Now you must perform a 'setup.py build' before using anything, and you must add the build directory (build/lib.linux-i686-2.4) to your PYTHONPATH before doing anything 2006-12-14 03:39:50 -07:00
assertutil.py move all packages into src/, fix allmydata.Crypto build. Now you must perform a 'setup.py build' before using anything, and you must add the build directory (build/lib.linux-i686-2.4) to your PYTHONPATH before doing anything 2006-12-14 03:39:50 -07:00
bencode.py move all packages into src/, fix allmydata.Crypto build. Now you must perform a 'setup.py build' before using anything, and you must add the build directory (build/lib.linux-i686-2.4) to your PYTHONPATH before doing anything 2006-12-14 03:39:50 -07:00
deferredutil.py rearrange encode/upload, add URIs, switch to ReplicatingEncoder 2007-01-15 21:22:22 -07:00
figleaf_htmlizer.py figleaf_htmlizer: when all counts are zero, claim 0% instead of 100%, since it probably means that coverage checking has failed completely 2007-05-01 11:07:28 -07:00
figleaf.py disable figleaf tracing during py_ecc, since it takes *forever*, especially on the slow buildslave 2007-01-05 18:12:04 -07:00
fileutil.py pyutil: fileutil.open_or_create() 2007-04-17 20:14:26 -07:00
hashutil.py move almost all hashing to SHA256, consolidate into hashutil.py 2007-06-07 21:47:21 -07:00
humanreadable.py amdlib.util: merge in changes to humanreadable.py that were made in pyutil 2007-05-25 15:49:57 -07:00
idlib.py chunk: add IncompleteHashTree for download purposes, plus tests 2007-04-06 09:09:57 -07:00
iputil.py iputil.get_local_ip_for: tolerate running on a disconnected host 2007-06-07 19:23:33 -07:00
mathutil.py add mathutil.next_power_of_k() and mathutil.ave() 2007-02-01 15:55:26 -07:00
observer.py add in-line doc that Josh wrote as he was trying to understand this code 2007-05-23 15:11:23 -07:00
repeatable_random.py copy repeatable_random from pyutil 2007-04-18 17:27:33 -07:00
testutil.py check_memory: getting closer, now we have memusage numbers for uploads of 10kB and 10MB files 2007-05-29 17:39:39 -07:00
version.py manually merge recent changes to pyutil's copy of "version.py" with allmydata's copy of "version.py" 2007-05-09 16:04:05 -07:00