📄 wiener.h
字号:
#pragma once
#include "RSACryptoSystem.h"
#include <iostream>
class Wiener
{
public:
typedef struct _param
{
NTL::ZZ D;
NTL::ZZ PhiN;
NTL::ZZ Q;
NTL::ZZ P;
bool Succeded;
} WienerResult;
private:
RSACryptoSystem::PublicKey m_rsaKey;
long m_nK;
WienerResult m_result;
private:
void Calculate();
bool Criterion(const NTL::ZZ& L, const NTL::ZZ& D);
public:
Wiener();
~Wiener(void);
public:
WienerResult Atack(const RSACryptoSystem::PublicKey& key);
void PrintAtackResults() const;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -