随笔分类 -  C++

摘要:1 #include "stdafx.h" 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 typedef int& ex(int &, int &); 8 int& exchange(int &, int &); 9 void acb(ex,int &,int &); 10 1... 阅读全文
posted @ 2017-08-08 14:46 赤い蝶 阅读(151) 评论(0) 推荐(0)
摘要:AES五种加密模式(CBC、ECB、CTR、OCF、CFB) 分组密码有五种工作体制:1.电码本模式(Electronic Codebook Book (ECB));2.密码分组链接模式(Cipher Block Chaining (CBC));3.计算器模式(Counter (CTR));4.密码 阅读全文
posted @ 2017-06-30 18:13 赤い蝶 阅读(686) 评论(0) 推荐(0)
摘要:#include "stdafx.h" #include #include #include //一定要包含该头文件 #include #pragma comment(lib, "WS2_32.lib") void ThreadMethod(SOCKET scoket); void ThreadMethod(SOCKET scoket) { char buffer[999... 阅读全文
posted @ 2017-06-19 15:03 赤い蝶 阅读(1067) 评论(0) 推荐(0)