| 30 | int CheckKey(); |
| 31 | int CheckAESKey(); |
| 32 | int main(int argc, char* argv[]) |
| 33 | { |
| 34 | if (argc >= 2) //第二个参数argv[1]是文件名 |
| 35 | strcpy_s(dbfilename, argv[1]); //复制 |
| 36 | //没有提供文件名,则提示用户输入 |
| 37 | else { |
| 38 | cout << "请输入文件名:" << endl; |
| 39 | cin >> dbfilename; |
| 40 | } |
| 41 | Decryptdb(); |
| 42 | return 0; |
| 43 | } |
| 44 | |
| 45 | int Decryptdb() |
| 46 | { |
nothing calls this directly
no test coverage detected