Compare commits

...

4 Commits

5 changed files with 27 additions and 24 deletions

View File

@@ -1 +1 @@
Hello, this is a test file for encryption!
Test file content for decryption

BIN
files/out2.otp Normal file

Binary file not shown.

Binary file not shown.

8
otp.c
View File

@@ -117,7 +117,7 @@ int main(int argc, char* argv[]) {
}
int interactive_mode(void) {
printf("\n\n\n\n=== OTP Cipher %s ===\n\n", get_version());
// printf("\n\n\n\n=== OTP Cipher %s ===\n\n", get_version());
while (1) {
show_main_menu();
@@ -133,7 +133,7 @@ int interactive_mode(void) {
handle_file_encrypt();
break;
case 'D':
handle_smart_decrypt();
handle_decrypt_menu();
break;
case 'G':
handle_generate_menu();
@@ -275,7 +275,9 @@ int command_line_mode(int argc, char* argv[]) {
}
void show_main_menu(void) {
printf("======================== Main Menu ========================\n");
printf("\n\n\n\n=========================== Main Menu - OTP %s ===========================\n\n", get_version() );
printf(" \033[4mT\033[0mext encrypt\n");
printf(" \033[4mF\033[0mile encrypt\n");
printf(" \033[4mD\033[0mecrypt\n");

1
test_files_dir.txt Normal file
View File

@@ -0,0 +1 @@
Testing updated files directory functionality