This commit is contained in:
parent
e37fbd929b
commit
bfb7e26d27
@ -67,7 +67,6 @@ class NetWrapper:
|
||||
hasher.update(cipherkey)
|
||||
self.cipherkey = hasher.hexdigest()[:32]
|
||||
|
||||
|
||||
def authenticate(self, password: str):
|
||||
message = f"LIN {self.username} {password}".encode('UTF-8')
|
||||
cipher = ChaCha20.new(key=self.cipherkey, nonce=get_random_bytes(12))
|
||||
|
Loading…
Reference in New Issue
Block a user