mirror of
https://github.com/Smaug123/ClassicalCiphers.jl
synced 2025-10-07 18:38:41 +00:00
Add "matrix must be invertible" to Hill readme
This commit is contained in:
@@ -198,6 +198,9 @@ encrypt_hill("Hello, World!", [1 2; 5 7])
|
||||
|
||||
Notice that the input has been made uppercase and symbols have been stripped out.
|
||||
|
||||
The key matrix must be invertible mod 26. That is, its determinant must be
|
||||
coprime to 26.
|
||||
|
||||
Encrypt the same text with the same key, this time represented as a string:
|
||||
|
||||
```julia
|
||||
|
Reference in New Issue
Block a user