refactor set_key -> position_key
This commit is contained in:
@@ -24,7 +24,7 @@ class User:
|
||||
def refresh_passcode(self, passcode_prop_idxs: list[int], customer_cipher: CustomerCipher):
|
||||
self.cipher = UserCipher.create(
|
||||
customer_cipher.keypad_size,
|
||||
customer_cipher.set_key,
|
||||
customer_cipher.position_key,
|
||||
self.cipher.max_nkode_len
|
||||
)
|
||||
self.enciphered_passcode = self.cipher.encipher_nkode(passcode_prop_idxs, customer_cipher)
|
||||
|
||||
Reference in New Issue
Block a user