?? crypto-client.cpp
字號(hào):
#include "crypto.h"#include <QTextStream>QTextStream cout(stdout, QIODevice::WriteOnly);int main() { QString str1 ("This is a sample string"), str2; cout << "Original string: " << str1 << endl; QString seqstr("pspsps"); ushort key(13579); Crypto crypt(key, seqstr); str2 = crypt.encrypt(str1); cout << "Encrypted string: " << str2 << endl; cout << "Recovered string: " << crypt.decrypt(str2) << endl; }
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -