1234567891011121314151617181920212223 |
- #ifndef Crypt_H
- #define Crypt_H
-
- #include <iostream>
-
- class Crypt {
- public :
- Crypt();
-
- static std::string cesar( std::string sentance, int key, char start = 'a', char end = 'z' );
- static std::string vigenere( std::string sentance, std::string key, char start = 'a', char end = 'z' );
- static std::string atbash( std::string sentane, char start = 'a', char end = 'z' );
-
- static char replaceChar( char character, int key, char start = 'a', char end = 'z' );
- static char loopInString( std::string str, int key );
- static int alphabetIndex( char ch, char start = 'a', char end = 'z' );
- static bool isLetter( char ch, char start = 'a', char end = 'z' );
-
- private :
-
- };
-
- #endif
|