pep8
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Torma Kristóf 2021-04-26 00:23:28 +02:00
parent e37fbd929b
commit bfb7e26d27
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
1 changed files with 0 additions and 1 deletions

View File

@ -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))