⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stdafx.h

📁 基于WIN32的经典的AES算法
💻 H
字号:
// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__69E61CA9_4E33_4F5E_B5C7_4F04804AA1D7__INCLUDED_)
#define AFX_STDAFX_H__69E61CA9_4E33_4F5E_B5C7_4F04804AA1D7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define byte  unsigned char  //定义byte为一个字节(8bit)
#define word unsigned  int   //定义word为一个字(32bit)

// 函数声明                                        
void KeyExpansion(byte in[], word out[]);

void Cipher(byte [],byte []);

void AddRoundKey(byte [], int);

void SubBytes(byte []);

void ShiftRows(byte []);

void MixColumns(byte []);

void InvCipher(byte [],byte []);

void InvSubBytes(byte []);

void InvShiftRows(byte []);

void InvMixColumns(byte []);
// 函数声明

// TODO: reference additional headers your program requires here

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__69E61CA9_4E33_4F5E_B5C7_4F04804AA1D7__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -