We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e17f480 commit 962ed29Copy full SHA for 962ed29
1 file changed
kg.py
@@ -1,7 +1,6 @@
1
import argparse
2
import re
3
from random import randint
4
-from typing import List
5
6
from cryptography.hazmat.backends import default_backend
7
from cryptography.hazmat.primitives.asymmetric import dsa
@@ -40,7 +39,7 @@ def fix_group_checksum(group_number: int, n: int) -> int:
40
39
return n & 0xfff0 | checksum
41
42
43
-def overall_checksum(groups: List[int]) -> int:
+def overall_checksum(groups: list[int]) -> int:
44
r = 0
45
for i in range(20):
46
g, digit = divmod(i, 4)
0 commit comments