📄 serpent.h
字号:
// Serpent.h: interface for the Serpent class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SERPENT_H__DF14D837_2FD8_4C61_A8ED_5A9C9AE548BF__INCLUDED_)
#define AFX_SERPENT_H__DF14D837_2FD8_4C61_A8ED_5A9C9AE548BF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class Serpent
{
public:
Serpent();
virtual ~Serpent();
public:
void MakeKey(char* key);
void Encrypt(CString strin, CString &strout);
void EncryptProc(ULONG* plaintext,ULONG* ciphertext);
void Decrypt(CString strin, CString &strout);
void DecryptProc(ULONG* ciphertext,ULONG* plaintext);
unsigned long subkeys[33][4];
unsigned long cipherOut[100];
int round;
};
#endif // !defined(AFX_SERPENT_H__DF14D837_2FD8_4C61_A8ED_5A9C9AE548BF__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -