📄 fast_aes_test.cpp
字号:
// AES.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "memory.h"
#include "stdio.h"
typedef unsigned char word8;
typedef unsigned int word32;
#define Nk 4
#define Nb 4
#define Nr 10
#include "S-Box.h"
#include "aes.h"
unsigned int State[4]={0x3243f6a8,0x885a308d,0x313198a2,0xe0370734};
int main(int argc, char* argv[])
{
unsigned int CipherKey[8]={0x2b7e1516,0x28aed2a6,0xabf71588,0x09cf4f3c};
QiuS_box();
AES_Enfun(State,CipherKey,1);
printf("\n\nok!\n");
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -