Compare commits

...

2 Commits

2 changed files with 5 additions and 4 deletions

View File

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

7
otp.c
View File

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