aboutsummaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2025-09-26 12:40:58 +0200
committersrdusr <trevorgray@srdusr.com>2025-09-26 12:40:58 +0200
commita996f78277d5ba5adccb0daa535bc2494350975c (patch)
tree08d594ba144f41fb14ebd2354beb2a8cda9be101 /main.h
parent91499edd42cc50ee0543e11e08a6b653f3475262 (diff)
downloadcerberus-a996f78277d5ba5adccb0daa535bc2494350975c.tar.gz
cerberus-a996f78277d5ba5adccb0daa535bc2494350975c.zip
Initial Commit
Diffstat (limited to 'main.h')
-rw-r--r--main.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/main.h b/main.h
deleted file mode 100644
index 36176fa..0000000
--- a/main.h
+++ /dev/null
@@ -1,47 +0,0 @@
-#ifndef MAIN_H
-#define MAIN_H
-
-#include <ctype.h>
-#include <dirent.h>
-#include <openssl/aes.h>
-#include <openssl/err.h>
-#include <openssl/evp.h>
-#include <openssl/rand.h>
-#include <stdbool.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/io.h>
-#include <sys/ioctl.h>
-#include <sys/stat.h>
-#include <time.h>
-#include <unistd.h>
-
-#define SALT_SIZE 16
-#define PBKDF2_ITERATIONS 10000
-#define AES_KEY_SIZE 32 // AES-256
-#define AES_BLOCK_SIZE 16
-
-#define MAX_PASSWORD_LENGTH 128
-#define MAX_WEBSITE_LENGTH 128
-#define MAX_USERNAME_LENGTH 128
-#define MAX_PASSWORDS 100
-
-struct Password {
- char website[MAX_WEBSITE_LENGTH];
- char username[MAX_USERNAME_LENGTH];
- char password[MAX_PASSWORD_LENGTH];
-};
-
-extern struct Password passwords[MAX_PASSWORDS];
-extern int numPasswords;
-
-void generate_password(char *password, int length);
-void save_password(struct Password *password, const char *website,
- const char *dir, const char *user_password);
-void edit_password(struct Password *password);
-void load_passwords(const char *dir, const char *user_password);
-void copy_to_clipboard(char *text);
-void print_ascii_art(const char *filename);
-
-#endif