Professional Documents
Culture Documents
INS PRACTICAL-1 INS
INS PRACTICAL-1 INS
PRACTICAL – 1
The Caesar cipher is one of the simplest and most widely known encryption
techniques. It is a type of substitution cipher in which each letter in the
plaintext is shifted a certain number of places down or up the alphabet.
E(x) = (x + n) mod 26
where:
where:
CODE:
#include <iostream>
#include <string>