Introduction - If you have any usage issues, please Google them yourself
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 () }