Skip to content

Commit

Permalink
minor UI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
brodante committed May 25, 2024
1 parent b1d21ea commit 7a4893d
Show file tree
Hide file tree
Showing 23 changed files with 21 additions and 13 deletions.
1 change: 1 addition & 0 deletions main py/FKeys/test1.txt_file.key
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kDiRqIL9-0dJhJIwaKytEwptsKjro3oZ4Rp9wOe9vB8=
2 changes: 1 addition & 1 deletion main py/Fdecry.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def decrypt_folder(folder_path, key):

def Fdecry():
logo()
path = input("Enter the path of the file or folder to decrypt: ")
path = input("Enter the path of the file or folder to \033[96mDECRYPT\033[0m: ")

if not os.path.exists(path):
print("Error: The provided path does not exist.")
Expand Down
2 changes: 1 addition & 1 deletion main py/Fencry.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def encrypt_folder(folder_path, key):

def Fencry():
logo()
path = input("Enter the path of the folder or file to encrypt: ")
path = input("Enter the path of the folder or file to \033[91mENCRYPT\033[0m : ")

# Check if the path is in the same directory as Fencry.py
script_dir = os.path.dirname(os.path.abspath(__file__))
Expand Down
29 changes: 18 additions & 11 deletions main py/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,34 +14,40 @@
import Fdecry
import time

ver = "0.3.1 beta"
def logo(): # https://patorjk.com/software/taag/#p=display&f=Big&t=KeyGuardian%20v0.3.1%20beta
#ver = "0.3.1 beta"
def logo(): # https://patorjk.com/software/taag/#p=display&f=Big&t=KeyGuardian
os.system("cls" if os.name == "nt" else "clear")
#print("\n\n")
print("\033[96m" + "{:^80}".format("KeyGuardian v"+ver) + "\033[0m")
print("\033[96m" + "{:^60}".format("KeyGuardian") + "\033[0m")
print("""\033[92m
_ __ _____ _ _ ___ ____ __ _ _
| |/ / / ____| | (_) / _ \ |___ \/_ | | | | |
| ' / ___ _ _| | __ _ _ __ _ _ __ __| |_ __ _ _ __ __ _| | | | __) || | | |__ ___| |_ __ _
| < / _ \ | | | | |_ | | | |/ _` | '__/ _` | |/ _` | '_ \ \ \ / / | | | |__ < | | | '_ \ / _ \ __/ _` |
| . \ __/ |_| | |__| | |_| | (_| | | | (_| | | (_| | | | | \ V /| |_| | ___) || | | |_) | __/ || (_| |
|_|\_\___|\__, |\_____|\__,_|\__,_|_| \__,_|_|\__,_|_| |_| \_/ \___(_)____(_)_| |_.__/ \___|\__\__,_|
__/ | by:\033[91m D4NT3\033[0m\033[92m
_ __ _____ _ _
| |/ / / ____| | (_)
| ' / ___ _ _| | __ _ _ __ _ _ __ __| |_ __ _ _ __
| < / _ \ | | | | |_ | | | |/ _` | '__/ _` | |/ _` | '_ \
| . \ __/ |_| | |__| | |_| | (_| | | | (_| | | (_| | | | |
|_|\_\___|\__, |\_____|\__,_|\__,_|_| \__,_|_|\__,_|_| |_|
__/ | by:\033[91m D4NT3\033[0m\033[92m
|___/
\033[0m""")

def cls():
os.system("cls" if os.name == "nt" else "clear")

def identify_hash():
cls()
identifyhash.identify_hash()
def hash():
cls()
hashify.hashify()
#print("Hashifying function")

def F_encry():
cls()
Fencry.Fencry()
#print("Encryption function")

def F_decry():
cls()
Fdecry.Fdecry()
#print("Decryption function")

Expand All @@ -55,6 +61,7 @@ def exit_program():
def main():
while True:
try:
cls()
logo()
print("\nMenu:")
print("1. Identify Hash")
Expand Down
Binary file added papers/PPR1/KeyGuardian_PPR_Final.docx
Binary file not shown.
Binary file added papers/PPR1/KeyGuardian_PPR_Final.pdf
Binary file not shown.
Binary file added papers/PPR1/ppr3 - Copy.docx
Binary file not shown.
Binary file added papers/PPR1/ppr3.docx
Binary file not shown.
Binary file added papers/PPR3/KeyGuardian_PPR_Final pg 1,2 .pdf
Binary file not shown.
Binary file modified papers/PPR3/KeyGuardian_PPR_Final.docx
Binary file not shown.
Binary file added papers/PPR3/ppr3 new KeyGuardian.docx
Binary file not shown.
Binary file added papers/PPR3/ppr3.docx
Binary file not shown.
Binary file added papers/PPR3/~$ppr3.docx
Binary file not shown.
Binary file added papers/PPR3/~$r3 new KeyGuardian.docx
Binary file not shown.
Binary file added papers/PPR3/~$yGuardian_PPR_Final.docx
Binary file not shown.
Binary file added papers/PPR3/~WRL0005.tmp
Binary file not shown.
Binary file modified papers/Research Paper/2/KeyGuardian new Research Paper.doc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed papers/SYNOPSIS KEYGUARDIAN.pdf.docx
Binary file not shown.

0 comments on commit 7a4893d

Please sign in to comment.