Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Yilmaz4 authored May 11, 2021
1 parent 45a55a8 commit dc4e8df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Encrypt.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
print("")
print("█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█")
print("█ [1] Save the key to a file █")
print("█ [2] Exit █")
print("█ [2] Back to Main Menu █")
print("█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█")
while True:
choice2 = input("Your choice: ")
Expand All @@ -79,7 +79,7 @@
print("█ [1] Save to 'Encryption Key.key' file █")
print("█ [2] Save to 'Encryption Key.txt' file █")
print("█ [3] Save as... █")
print("█ [4] Exit █")
print("█ [4] Back to Main Menu █")
print("█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█")
while True:
choice3 = input("Your choice: ")
Expand Down Expand Up @@ -154,10 +154,10 @@
while True:
keyInput = input("Key: ")
if keyInput == "reenter":
main = True
break
elif keyInput == "quit" or keyInput == "exit" or keyInput == "q" or keyInput == "e":
exit = True
print("Quitting the program... Take care of yourself!")
exit = False
break
try:
key = bytes(keyInput, 'utf-8')
Expand Down

0 comments on commit dc4e8df

Please sign in to comment.