📄 rsa.h
字号:
#ifndef CLASS_RSA
#define CLASS_RSA
#include"BigInt.h"
typedef unsigned char byte;
class RSA
{
public:
RSA();
virtual~RSA();
BigInt ValuePQ;
BigInt PubKey;
BigInt PriKey;
public:
void init();
void setValueHex(const byte *textN,const byte *textE,const byte *textD);
void setValueHex(const byte *textE,int size_num);
void setValuePQStr(const byte *test,int size_num);
void setValueDStr(const byte *test,int size_num);
byte* Encrypt(const byte *pData);
byte* Decrypt(const byte *pData);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -