mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-23 01:08:53 +00:00
dirnode: finish renaming "iv" to "salt" in the code and the hash tag
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user