refactor set_key -> position_key
This commit is contained in:
@@ -18,8 +18,8 @@ class User:
|
||||
|
||||
def renew_keys(self, set_xor: np.ndarray, prop_xor: np.ndarray):
|
||||
self.renew = True
|
||||
self.cipher.combined_set_key = self.cipher.combined_set_key ^ set_xor
|
||||
self.cipher.prop_key = self.cipher.prop_key ^ prop_xor
|
||||
self.cipher.combined_position_key = self.cipher.combined_position_key ^ set_xor
|
||||
self.cipher.property_key = self.cipher.property_key ^ prop_xor
|
||||
|
||||
def refresh_passcode(self, passcode_prop_idxs: list[int], customer_cipher: CustomerCipher):
|
||||
self.cipher = UserCipher.create(
|
||||
|
||||
Reference in New Issue
Block a user