123456789101112131415161718192021 |
- def AESmenu(EncDec):
-
- choice = raw_input("Would you like to (E)ncrypt or (D)ecrypt?: ")
- f_in = raw_input("Insert the filename with extension: ")
- fileblob = file_check(f_in)
- while fileblob == 0:
- f_in = raw_input("insert the filename with extensions")
- fileblob = file_check(f_in)
- print( f_in )
-
- if choice == 'E':
-
- encrypt(EncDec, f_in)
- print ("Done.")
- elif choice == 'D':
- decrypt(EncDec, f_in)
- print( "Done.")
- else:
- print ("No Option selected, closing...")
-
|