📄 encryption_i.h
字号:
#pragma once
#include <windows.h>
class EncryptionInterface
{
public:
EncryptionInterface(const char *pwd) { strncpy(_encryptionKey, pwd, 99); _encryptionKey[99] = 0; }
virtual ~EncryptionInterface() { ZeroMemory(_encryptionKey, 100); }
virtual DWORD encryptStream(const char *plain, const DWORD size, char *cipher) = 0;
virtual DWORD decryptStream(const char *cipher, const DWORD size, char *plain) = 0;
protected:
char _encryptionKey[100];
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -