mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-27 15:01:08 +00:00
parent
25757e697c
commit
15c93e5f4b
|
@ -27,7 +27,7 @@ def encrypt(input_string: str, key: int, alphabet: str | None = None) -> str:
|
|||
=========================
|
||||
The caesar cipher is named after Julius Caesar who used it when sending
|
||||
secret military messages to his troops. This is a simple substitution cipher
|
||||
where very character in the plain-text is shifted by a certain number known
|
||||
where every character in the plain-text is shifted by a certain number known
|
||||
as the "key" or "shift".
|
||||
|
||||
Example:
|
||||
|
|
Loading…
Reference in New Issue
Block a user