AES加密解密算法.docVIP

  • 22
  • 0
  • 约1.86万字
  • 约 14页
  • 2017-03-30 发布于贵州
  • 举报
AES加密解密算法AES加密解密算法

集美大学计算机工程学院实验报告 课程:::名称:::组: 实验目的二、内容与三、用环境 C++ 6.0 四// AES.h #ifndef AES_H_ #define AES_H_ #include bitset #include utility using namespace std; class AES { public: typedef unsigned char byte; static const int KEY_SIZE = 16; // 密钥长度为位 static const int N_ROUND = 11; byte plainText[16]; // 明文 byte state[16]; // 当前分组。 byte cipherKey[16]; // 密钥 byte roundKey[N_ROUND][16]; //轮密钥 byte cipherText[16]; //密文 byte SBox[16][16]; // S盒 byte InvSBox[16][16]; // 逆S盒 void EncryptionProcess(); voi

文档评论(0)

1亿VIP精品文档

相关文档