增加RSA,未完成
This commit is contained in:
parent
c758f0a72f
commit
4606876f56
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,15 @@
|
||||||
|
#ifndef __RSA_H__
|
||||||
|
#define __RSA_H__
|
||||||
|
|
||||||
|
#include "Sys.h"
|
||||||
|
|
||||||
|
// RSA 加密算法
|
||||||
|
class RSA
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
// 加解密
|
||||||
|
static ByteArray Encrypt(const Array& data, const Array& pass);
|
||||||
|
static ByteArray Decrypt(const Array& data, const Array& pass);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue