]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
hashutil: convenience methods for tagged and encoded hashes
authorZooko O'Whielacronx <zooko@zooko.com>
Fri, 30 Mar 2007 01:11:30 +0000 (18:11 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Fri, 30 Mar 2007 01:11:30 +0000 (18:11 -0700)
commit99a046ab51b4e7d7cf66000bc5dd551a913a3fe2
tree4c036f2673ade45845836afcdbe058e705c8eb49
parent4b4f5bbcba39c1b62c013b1138f0ad43883c7213
hashutil: convenience methods for tagged and encoded hashes
In various cases, including Merkle Trees, it is useful to tag and encode the inputs to your secure hashes to prevent security flaws due to ambiguous meanings of hash values.
src/allmydata/util/hashutil.py [new file with mode: 0644]