说明: CString Encrypt(CString S, WORD Key) // 加密函数 { CString Result,str; int i,j; Result=S; // 初始化结果字符串 for(i=0; i>8)); // 将密钥移位后与字符异或 Key = ((BYTE)Result.GetAt(i)+Key)*C1+C2; // 产生下一个密钥 } S=Result; // 保存结果 Result.Empty(); // 清除结果 for(i=0; i<S.GetLe
<njlinjie> 上传 | 大小:92kb