mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 09:46:18 +00:00
mutable: storage_index is always 16 bytes
This commit is contained in:
parent
7e43c7b5f9
commit
5739126d11
@ -137,4 +137,4 @@ def ssk_readkey_hash(writekey):
|
||||
def ssk_readkey_data_hash(IV, readkey):
|
||||
return tagged_pair_hash("allmydata_mutable_readkey_data_v1", IV, readkey)
|
||||
def ssk_storage_index_hash(readkey):
|
||||
return tagged_hash("allmydata_mutable_storage_index_v1", readkey)
|
||||
return tagged_hash("allmydata_mutable_storage_index_v1", readkey)[:16]
|
||||
|
Loading…
x
Reference in New Issue
Block a user