Date post: | 03-Nov-2015 |
Category: |
Documents |
Upload: | ahmed-a-hwaidi |
View: | 221 times |
Download: | 0 times |
/** Type: Monoalphabetic Substitution Cipher * Caesar Cipher*/ #include #include #include#includeusing namespace std;
class CaesarCipher{ private: static const int KEY = 3 ; // the key for caesar cipher public: string encryption (string str) { string str2 = "" ; for (int i=0 ; i