(key_filename: str)
| 61 | |
| 62 | |
| 63 | def read_key_file(key_filename: str) -> tuple[int, int, int]: |
| 64 | with open(key_filename) as fo: |
| 65 | content = fo.read() |
| 66 | key_size, n, eor_d = content.split(",") |
| 67 | return (int(key_size), int(n), int(eor_d)) |
| 68 | |
| 69 | |
| 70 | def encrypt_and_write_to_file( |
no test coverage detected