Esempio n. 1
0
def loop():
    stop = False
    while not stop:
        _in = input(Colors.okay_blue('What would you like to do? GPG Commands '
                                     'Only.: '))
        if _in[0].lower() == 'e':
            Choice.encrypt()
        elif _in[0].lower() == 'd':
            Choice.decrypt()
        elif _in[0].lower() == 'q' or _in.lower() == 'quit':
            print(Colors.bold('Exiting...'))
            exit(Codes.chosen_exit)
Esempio n. 2
0
 def encrypt():
     print(Colors.okay_green('Encryption Scheme'))