Compare commits

...
3 Commits
Author SHA1 Message Date
laantungir 66c6e3eea5 Version v0.3.11 - Add delete option, and TUI improvements 2025-09-23 10:39:17 -04:00
laantungir b058911fb8 Version v0.3.10 - fix truerng 2025-09-22 13:13:30 -04:00
laantungir a0ce6f3253 Version v0.3.9 - fix truerng 2025-09-22 13:04:06 -04:00
4 changed files with 937 additions and 225 deletions
Executable
BIN
View File
Binary file not shown.
Executable
BIN
View File
Binary file not shown.
+926 -224
View File
File diff suppressed because it is too large Load Diff
+11 -1
View File
@@ -29,7 +29,7 @@
#define PROGRESS_UPDATE_INTERVAL (64 * 1024 * 1024) // 64MB intervals
#define DEFAULT_PADS_DIR "pads"
#define FILES_DIR "files"
#define MAX_ENTROPY_BUFFER 32768 // 32KB entropy buffer
#define MAX_ENTROPY_BUFFER (4 * 1024 * 1024) // 4MB entropy buffer for large operations
////////////////////////////////////////////////////////////////////////////////
// TYPE DEFINITIONS
@@ -248,6 +248,14 @@ int universal_decrypt(const char* input_data, const char* output_target, decrypt
char* custom_base64_encode(const unsigned char* input, int length);
unsigned char* custom_base64_decode(const char* input, int* output_length);
////////////////////////////////////////////////////////////////////////////////
// TERMINAL UI FUNCTIONS
////////////////////////////////////////////////////////////////////////////////
// Terminal dimension and UI functions
void init_terminal_dimensions(void);
void print_centered_header(const char* text);
////////////////////////////////////////////////////////////////////////////////
// MENU SYSTEM FUNCTIONS
////////////////////////////////////////////////////////////////////////////////
@@ -260,6 +268,8 @@ int handle_decrypt_menu(void);
int handle_pads_menu(void);
int handle_text_encrypt(void);
int handle_file_encrypt(void);
int handle_verify_pad(const char* pad_chksum);
int handle_delete_pad(const char* pad_chksum);
////////////////////////////////////////////////////////////////////////////////
// ENHANCED INPUT FUNCTIONS