dirnode: finish renaming "iv" to "salt" in the code and the hash tag

This commit is contained in:
Zooko O'Whielacronx
2009-07-12 17:13:20 -07:00
parent 7f1d8b7c46
commit 2f704ed001
2 changed files with 4 additions and 4 deletions

View File

@ -195,7 +195,7 @@ class NewDirectoryNode:
def _encrypt_rwcap(self, rwcap):
assert isinstance(rwcap, str)
salt = hashutil.mutable_rwcap_iv_hash(rwcap)
salt = hashutil.mutable_rwcap_salt_hash(rwcap)
key = hashutil.mutable_rwcap_key_hash(salt, self._node.get_writekey())
cryptor = AES(key)
crypttext = cryptor.process(rwcap)