Typing and linting fixes

This commit is contained in:
Alex Stokes
2019-08-23 23:43:36 +02:00
parent 0fa3331b8c
commit 1adef05e94
8 changed files with 53 additions and 33 deletions

View File

@ -98,7 +98,7 @@ def initialize_pair(
authenticator.update(tag)
tag = authenticator.digest()
half = len(result) / 2
half = int(len(result) / 2)
first_half = result[:half]
second_half = result[half:]