Skip to content

Commit ac39152

Browse files
author
Twlilght-Dream-Of-Magic
committed
Test and Fix Code
1 parent e270886 commit ac39152

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed
Binary file not shown.
Binary file not shown.

[Encrypt_Or_Decrypt_File]-Source-Code/Beta-Version3/Main_3_By_Twlilght_Yujiang.cpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,8 @@ int main()
314314
strcpy(E_TargetFileLastNameOutput,E_TargetFileCharPath);*/
315315

316316
ConsoleTableColorSet(1, 1, 0);
317-
std::cout << "正在记录并导出,本次用于文件加密,3个密钥字符串......" << endl;
318-
std::cout << "Is being recorded and exported, this time for file encryption, 3 key string......" << endl;
317+
std::cout << "正在记录并导出,本次用于文件加密,4个密钥字符串......" << endl;
318+
std::cout << "Is being recorded and exported, this time for file encryption, 4 key string......" << endl;
319319
ofstream PasswordOutputKeyFile;
320320
PasswordOutputKeyFile.open(".\\File-Key-Record-Log\\ENCRYPTION-DECRYPTIPN-PASSWORD.KEY.TXT");
321321
PasswordOutputKeyFile << "Twlilght_Yujiang File Lock Password [Key String] Save\n" << endl;
@@ -669,14 +669,14 @@ int main()
669669

670670
system("@Rmdir /s /q .\\File-Key-Record-Log\\");
671671

672-
system("@Rd /s /q .\\WorkPath\\Encrypt\\OutputFile\\");
673-
system("@Rd /s /q .\\WorkPath\\Encrypt\\InputFile\\");
674-
system("@Rd /s /q .\\WorkPath\\Encrypt\\");
672+
system("@Rmdir /s /q .\\WorkPath\\Encrypt\\OutputFile\\");
673+
system("@Rmdir /s /q .\\WorkPath\\Encrypt\\InputFile\\");
674+
system("@Rmdir /s /q .\\WorkPath\\Encrypt\\");
675675

676-
system("@Rd /s /q .\\WorkPath\\Decrypt\\OutputFile\\");
677-
system("@Rd /s /q .\\WorkPath\\Decrypt\\InputFile\\");
678-
system("@Rd /s /q .\\WorkPath\\Decrypt\\");
679-
system("@Rd /s /q .\\WorkPath\\");
676+
system("@Rmdir /s /q .\\WorkPath\\Decrypt\\OutputFile\\");
677+
system("@Rmdir /s /q .\\WorkPath\\Decrypt\\InputFile\\");
678+
system("@Rmdir /s /q .\\WorkPath\\Decrypt\\");
679+
system("@Rmdir /s /q .\\WorkPath\\");
680680

681681
system("cls");
682682

@@ -702,14 +702,14 @@ int main()
702702

703703
system("@Rmdir /s /q .\\File-Key-Record-Log\\");
704704

705-
system("@Rd /s /q .\\WorkPath\\Encrypt\\OutputFile\\");
706-
system("@Rd /s /q .\\WorkPath\\Encrypt\\InputFile\\");
707-
system("@Rd /s /q .\\WorkPath\\Encrypt\\");
705+
system("@Rmdir /s /q .\\WorkPath\\Encrypt\\OutputFile\\");
706+
system("@Rmdir /s /q .\\WorkPath\\Encrypt\\InputFile\\");
707+
system("@Rmdir /s /q .\\WorkPath\\Encrypt\\");
708708

709-
system("@Rd /s /q .\\WorkPath\\Decrypt\\OutputFile\\");
710-
system("@Rd /s /q .\\WorkPath\\Decrypt\\InputFile\\");
711-
system("@Rd /s /q .\\WorkPath\\Decrypt\\");
712-
system("@Rd /s /q .\\WorkPath\\");
709+
system("@Rmdir /s /q .\\WorkPath\\Decrypt\\OutputFile\\");
710+
system("@Rmdir /s /q .\\WorkPath\\Decrypt\\InputFile\\");
711+
system("@Rmdir /s /q .\\WorkPath\\Decrypt\\");
712+
system("@Rmdir /s /q .\\WorkPath\\");
713713

714714
system("cls");
715715

[Encrypt_Or_Decrypt_File]-Source-Code/Beta-Version3/Main_3_By_Twlilght_Yujiang.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
//The file and key are counted in Buffer
5353

5454
int NOIEM; //初始加密模块次数 (Number of initial encryption modules)
55-
int MAX_NOT_E_MODULE = 65; //运行加密模块循环次数 (The maximum number of times the encryption module is running)
55+
int MAX_NOT_E_MODULE = 66; //运行加密模块循环次数 (The maximum number of times the encryption module is running)
5656

5757
for(NOIEM = 0;NOIEM < MAX_NOT_E_MODULE;NOIEM++)
5858
{
@@ -295,7 +295,7 @@
295295
//The file and key are counted in Buffer
296296

297297
int NOIDM; //初始解密模块次数 (Number of initial decryption modules)
298-
int MAX_NOT_D_MODULE = 65; //运行解密模块循环次数 (The maximum number of times the decryption module is running)
298+
int MAX_NOT_D_MODULE = 66; //运行解密模块循环次数 (The maximum number of times the decryption module is running)
299299

300300
for(NOIDM = 0;NOIDM < MAX_NOT_D_MODULE;NOIDM++)
301301
{

0 commit comments

Comments
 (0)