Skip to content

Commit 84e3190

Browse files
author
Ravi Mandliya
committed
updated description
1 parent eec5f48 commit 84e3190

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

common_ds_algo_problems/caeser_cipher.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/*
22
* Encrypts a plain text to decrypts an encrypted text back to plain using Caeser Cipher.
3-
* Example:
3+
* 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
47
* Enter plain text:the brown fox jumped over the lazy dog
58
* Enter shift length:24
69
* Encrypted text:rfc zpmul dmv hskncb mtcp rfc jyxw bme

0 commit comments

Comments
 (0)