Problem_all_the_time

caesar.h

Jan 29th, 2022
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #ifndef CAESAR_H
  2. #define CAESAR_H
  3.  
  4. #include <string>
  5.  
  6. extern const char kStart;
  7. extern const char kEnd;
  8.  
  9. // Encrypt a single character.
  10. char Encrypt(char input_char, int key);
  11.  
  12. // Decrypt a single character.
  13. char Decrypt(char input_char, int key);
  14.  
  15. // Calculates mean-squared-error for top 3 letters in English language.
  16. double MeanSquaredError(double e_freq, double t_freq, double a_freq);
  17.  
  18. #endif
Advertisement
Add Comment
Please, Sign In to add comment