- 博客(3)
- 收藏
- 关注
原创 C++实现简单异或加密算法
#pragma once#include class NXCORE_API XorCrypt{public: static std::string Xor(__in const std::string& input, __in const std::string& key); static bool Encrypt(__in const std::string& input,
2014-12-19 13:05:09 7561
原创 C++ base64编码和解码算法
#include namespace base64 { std::string base64_encode(unsigned char const* , unsigned int len); std::string base64_decode(std::string const& s);}#include "base64.h"namespace base64{ sta
2014-12-10 15:41:39 1037
原创 VC++使用DES算法进行文件加密和解密
头文件:extern "C"{ BOOL xEncrypt(LPCTSTR lpszSource, LPCTSTR lpszDestination, LPCTSTR lpszPassword); BOOL xDecrypt(LPCTSTR lpszSource, LPCTSTR lpszDestination, LPCTSTR lpszPassword);}cpp文件:#inc
2014-12-10 15:18:41 9531 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人