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 eec5f48 commit 84e3190Copy full SHA for 84e3190
common_ds_algo_problems/caeser_cipher.cpp
@@ -1,6 +1,9 @@
1
/*
2
* Encrypts a plain text to decrypts an encrypted text back to plain using Caeser Cipher.
3
- * Example:
+ * It is a type of substitution cipher in which each letter in the plaintext is replaced by a
4
+ * letter some fixed number of positions down the alphabet. For example, with a left shift of 3,
5
+ * D would be replaced by A, E would become B, and so on.
6
+ * The method is named after Julius Caesar, who used it in his private correspondence
7
* Enter plain text:the brown fox jumped over the lazy dog
8
* Enter shift length:24
9
* Encrypted text:rfc zpmul dmv hskncb mtcp rfc jyxw bme
0 commit comments