From 57c23dcedeb448769e66761a5e2faa7320427b9f Mon Sep 17 00:00:00 2001 From: foswret Date: Sun, 22 Jun 2025 15:05:58 -0500 Subject: added key image to README.md --- password.c | 81 -------------------------------------------------------------- 1 file changed, 81 deletions(-) delete mode 100644 password.c (limited to 'password.c') diff --git a/password.c b/password.c deleted file mode 100644 index 7cd6da9..0000000 --- a/password.c +++ /dev/null @@ -1,81 +0,0 @@ -#include -#include -#include -#include -#include //To Upper - - -long count_lines(FILE *File) { - char c; - long line_counter = 0; - while ((c = getc(File)) != EOF) { - if (c == '\n') { - line_counter++; - } - } - return(line_counter); -} - -void randomize_case(char *a) { // Accepts a string as input - for (int i = 0; i < strlen(a); i++) { - int coin = randombytes_uniform(2); // Decide if the current character will be capitalized or lowercase - if (coin == 1) { - a[i] = toupper(a[i]); - } - } -} - -void generate_integers(void) { - int length = 5; // TO-DO: Make random eventually - for (int i=0; i