We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1755567 commit c762326Copy full SHA for c762326
ciphers/hill_cipher.py
@@ -145,7 +145,7 @@ def check_determinant(self) -> None:
145
ValueError: determinant modular 36 of encryption key(0) is not co prime
146
w.r.t 36. Try another key.
147
"""
148
-
+
149
det = round(np.linalg.det(self.encrypt_key))
150
151
if det < 0:
@@ -271,7 +271,7 @@ def make_decrypt_key(self) -> np.ndarray:
271
272
273
274
275
276
277
0 commit comments