📄 playfair.h
字号:
// Playfair.h: interface for the CPlayfair class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PLAYFAIR_H__9F4542E8_7CE1_4746_9E06_5FA05000A7AE__INCLUDED_)
#define AFX_PLAYFAIR_H__9F4542E8_7CE1_4746_9E06_5FA05000A7AE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Cipher.h"
#include <utility>
using namespace std;
class CPlayfair : public CCipher
{
public:
// pair <int,int> m_letterPosition[150];
CString m_plainString;
CString m_cipherString;
// CString m_key;
// void SetKey();
// char grid[5][5];
void Decipher(char grid[5][5],pair<int,int> m_letterPosition[150]);
void Encipher(char grid[5][5] , pair <int,int> m_letterPosition[150]);
CPlayfair();
virtual ~CPlayfair();
};
#endif // !defined(AFX_PLAYFAIR_H__9F4542E8_7CE1_4746_9E06_5FA05000A7AE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -