encrypt_key is an NxN numpy array
(self, encrypt_key: np.ndarray)
| 54 | to_int = np.vectorize(round) |
| 55 | |
| 56 | def __init__(self, encrypt_key: np.ndarray) -> None: |
| 57 | """ |
| 58 | encrypt_key is an NxN numpy array |
| 59 | """ |
| 60 | self.encrypt_key = self.modulus(encrypt_key) # mod36 calc's on the encrypt key |
| 61 | self.check_determinant() # validate the determinant of the encryption key |
| 62 | self.break_key = encrypt_key.shape[0] |
| 63 | |
| 64 | def replace_letters(self, letter: str) -> int: |
| 65 | """ |
nothing calls this directly
no test coverage detected