]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit - src/allmydata/dirnode.py
directories: make the IV for the writecaps in directory entries be computed from...
authorZooko O'Whielacronx <zooko@zooko.com>
Sun, 5 Jul 2009 02:48:15 +0000 (19:48 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Sun, 5 Jul 2009 02:48:15 +0000 (19:48 -0700)
commit786ed012b3510135c60769e6d5e91d6f3fef2725
tree16adbd534ab91ec0e1196e77269c7aa24579f34e
parentfcedca966ebc10e07a74b527624c0c3b9de52eba
directories: make the IV for the writecaps in directory entries be computed from the secure hash of the writecap itself
This makes encoding of directory entries deterministic, and it is also a tad faster on Macbook Pro than getting a random IV with os.urandom(16).
src/allmydata/dirnode.py
src/allmydata/util/hashutil.py