Skip to content

Commit

Permalink
remove the broken 202311 version
Browse files Browse the repository at this point in the history
  • Loading branch information
Okmeque1 authored Mar 24, 2024
1 parent f23b2eb commit 6938e06
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion PythonSoft/Utilities/Encrypter-Decrypter.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ def enc(key):
with open(file_enc,"wb") as twrite:
twrite.write(encrypted)
print("Encrypted with no errors")
mainmenu()
def dec(key):
file_dec = input("Please enter a valid file name to decrypt → ")
with open(file_dec,"rb") as lwd:
Expand All @@ -17,9 +18,14 @@ def dec(key):
with open(file_dec,"wb") as td:
td.write(decrypted)
print("Decrypted with no errors.")
mainmenu()
def start():
try:
key = input("Please enter a valid file name with a valid key. : ")
with open(key,"rb") as encdeckey:
key1 = encdeckey.read()
mainmenu(key1)
def mainmenu(key):
try:
print("Encrypter-Decrypter system by Okmeque1")
print("1 → Encrypt file.")
print("2 → Decrypt file.")
Expand Down

0 comments on commit 6938e06

Please sign in to comment.