Files Classes Functions Hierarchy
00001 #ifndef RSASTATE_H 00002 #define RSASTATE_H 00003 00004 #include <cassert> 00005 #include <string> 00006 using namespace std; 00007 00008 #include <print.h> 00009 00015 class rsastate 00016 { 00017 void displaymessage() const; 00018 00020 string e; 00022 string n; 00024 string p; 00026 string q; 00028 string file; 00029 00031 uint blocksize; 00033 uint nbits; 00034 00036 void encrypt(); 00038 void decrypt(); 00040 void generate(); 00042 void generate2(); 00043 public: 00044 00046 rsastate(int argc, char**argv); 00047 }; 00048 00049 00050 #endif 00051
1.5.8