We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c33039 commit fec2b2fCopy full SHA for fec2b2f
1 file changed
crypto.py
@@ -1,6 +1,6 @@
1
-#!/usr/bin/python
+#!/usr/bin/env python
2
3
-import os, time, argparse
+import os, time, argparse, getpass
4
# sudo pip install pycrypto
5
from Crypto.Cipher import AES
6
from Crypto.Hash import SHA256
@@ -126,7 +126,7 @@ def main():
126
exit(1)
127
128
if password == "None":
129
- password = raw_input("[+] Enter Password: ")
+ password = getpass.getpass()
130
131
if enc != "None":
132
print(blue+"[+] Encrypt: "+end+"[ "+enc+" ]")
0 commit comments