ruanbekker
1/22/2018 - 10:43 AM

Using Getpass to prompt for sensitive info without prompting for it

Using Getpass to prompt for sensitive info without prompting for it

import getpass

text = getpass.getpass(prompt='Enter your passphrase to encrypt ')
print("You have entered: {}".format(text))