文件名称:aes
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:279.7kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
AES算法,实现对文件加密。包含密码学课程报告
class CRijndael
{
private:
int Nk,Nr,round
long Total_Round,Cur_Round
char *SourceFileName,*TargetFileName
CString source,*target,save
CFile Source,Target
byte (* State)[4],*w[4],*key[4]
public:
CString ErrorMessage
CRijndael()
virtual ~CRijndael()
bool EncrypFile()
bool DecrypFile()
CString DecrypStr()
CString EncrypStr()
bool SetFileName(CString SFileName,CString TFileName)
bool SetString(CString sour,CString &targ)
bool SetVariable(int k,int r,CString skey)
int GetCurPos()
private:
void SubBytes()
void ShiftRows()
void MixColumns()
byte Multi(byte a,byte b)
void AddRoundKey()
void KeyExpansion()
void InvShiftRows()
void InvSubBytes()
void InvMixColumns()
void Encryption()
void Decryption()
} -AES algorithm to realize the files are encrypted. Course report contains the password 。
class CRijndael {private: int Nk, Nr, round long Total_Round, Cur_Round char* SourceFileName,* TargetFileName CString source,* target, save CFile Source, Target byte (* State) [4] ,* w [4],* key [4] public: CString ErrorMessage CRijndael () virtual ~ CRijndael () bool EncrypFile () bool DecrypFile () CString DecrypStr () CString EncrypStr () bool SetFileName (CString SFileName, CString TFileName) bool SetString (CString sour, CString & targ) bool SetVariable (int k, int r, CString skey) int GetCurPos () private: void SubBytes () void ShiftRows () void MixColumns () byte Multi (byte a, byte b) void AddRoundKey () void KeyExpansion () void InvShiftRows () void InvSubBytes () void InvMixColumns () void Encryption () void Decryption () }
class CRijndael
{
private:
int Nk,Nr,round
long Total_Round,Cur_Round
char *SourceFileName,*TargetFileName
CString source,*target,save
CFile Source,Target
byte (* State)[4],*w[4],*key[4]
public:
CString ErrorMessage
CRijndael()
virtual ~CRijndael()
bool EncrypFile()
bool DecrypFile()
CString DecrypStr()
CString EncrypStr()
bool SetFileName(CString SFileName,CString TFileName)
bool SetString(CString sour,CString &targ)
bool SetVariable(int k,int r,CString skey)
int GetCurPos()
private:
void SubBytes()
void ShiftRows()
void MixColumns()
byte Multi(byte a,byte b)
void AddRoundKey()
void KeyExpansion()
void InvShiftRows()
void InvSubBytes()
void InvMixColumns()
void Encryption()
void Decryption()
} -AES algorithm to realize the files are encrypted. Course report contains the password 。
class CRijndael {private: int Nk, Nr, round long Total_Round, Cur_Round char* SourceFileName,* TargetFileName CString source,* target, save CFile Source, Target byte (* State) [4] ,* w [4],* key [4] public: CString ErrorMessage CRijndael () virtual ~ CRijndael () bool EncrypFile () bool DecrypFile () CString DecrypStr () CString EncrypStr () bool SetFileName (CString SFileName, CString TFileName) bool SetString (CString sour, CString & targ) bool SetVariable (int k, int r, CString skey) int GetCurPos () private: void SubBytes () void ShiftRows () void MixColumns () byte Multi (byte a, byte b) void AddRoundKey () void KeyExpansion () void InvShiftRows () void InvSubBytes () void InvMixColumns () void Encryption () void Decryption () }
(系统自动生成,下载前可以参看下载内容)
下载文件列表
aes/
aes/AES/
aes/AES/AES.APS
aes/AES/AES.clw
aes/AES/AES.cpp
aes/AES/AES.dsp
aes/AES/AES.dsw
aes/AES/AES.h
aes/AES/AES.ncb
aes/AES/AES.opt
aes/AES/AES.plg
aes/AES/AES.rc
aes/AES/AESDlg.cpp
aes/AES/AESDlg.h
aes/AES/CRijndael.cpp
aes/AES/CRijndael.h
aes/AES/FileDlg.cpp
aes/AES/FileDlg.h
aes/AES/MyTab.cpp
aes/AES/MyTab.h
aes/AES/ReadMe.txt
aes/AES/res/
aes/AES/resource.h
aes/AES/res/AES.ico
aes/AES/res/AES.rc2
aes/AES/StdAfx.cpp
aes/AES/StdAfx.h
aes/AES/StrDlg.cpp
aes/AES/StrDlg.h
aes/密码学应用与实践课程设计报告.doc
aes/AES/
aes/AES/AES.APS
aes/AES/AES.clw
aes/AES/AES.cpp
aes/AES/AES.dsp
aes/AES/AES.dsw
aes/AES/AES.h
aes/AES/AES.ncb
aes/AES/AES.opt
aes/AES/AES.plg
aes/AES/AES.rc
aes/AES/AESDlg.cpp
aes/AES/AESDlg.h
aes/AES/CRijndael.cpp
aes/AES/CRijndael.h
aes/AES/FileDlg.cpp
aes/AES/FileDlg.h
aes/AES/MyTab.cpp
aes/AES/MyTab.h
aes/AES/ReadMe.txt
aes/AES/res/
aes/AES/resource.h
aes/AES/res/AES.ico
aes/AES/res/AES.rc2
aes/AES/StdAfx.cpp
aes/AES/StdAfx.h
aes/AES/StrDlg.cpp
aes/AES/StrDlg.h
aes/密码学应用与实践课程设计报告.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.