No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Crypt.h 692B

1234567891011121314151617181920212223
  1. #ifndef Crypt_H
  2. #define Crypt_H
  3. #include <iostream>
  4. class Crypt {
  5. public :
  6. Crypt();
  7. static std::string cesar( std::string sentance, int key, char start = 'a', char end = 'z' );
  8. static std::string vigenere( std::string sentance, std::string key, char start = 'a', char end = 'z' );
  9. static std::string atbash( std::string sentane, char start = 'a', char end = 'z' );
  10. static char replaceChar( char character, int key, char start = 'a', char end = 'z' );
  11. static char loopInString( std::string str, int key );
  12. static int alphabetIndex( char ch, char start = 'a', char end = 'z' );
  13. static bool isLetter( char ch, char start = 'a', char end = 'z' );
  14. private :
  15. };
  16. #endif