()
| 75 | |
| 76 | |
| 77 | def get_random_key() -> int: |
| 78 | while True: |
| 79 | key_b = random.randint(2, len(SYMBOLS)) |
| 80 | key_b = random.randint(2, len(SYMBOLS)) |
| 81 | if gcd_by_iterative(key_b, len(SYMBOLS)) == 1 and key_b % len(SYMBOLS) != 0: |
| 82 | return key_b * len(SYMBOLS) + key_b |
| 83 | |
| 84 | |
| 85 | def main() -> None: |
nothing calls this directly
no test coverage detected