Skip to content

Commit fec2b2f

Browse files
authored
Update crypto; new version
1 parent 3c33039 commit fec2b2f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

crypto.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22

3-
import os, time, argparse
3+
import os, time, argparse, getpass
44
# sudo pip install pycrypto
55
from Crypto.Cipher import AES
66
from Crypto.Hash import SHA256
@@ -126,7 +126,7 @@ def main():
126126
exit(1)
127127

128128
if password == "None":
129-
password = raw_input("[+] Enter Password: ")
129+
password = getpass.getpass()
130130

131131
if enc != "None":
132132
print(blue+"[+] Encrypt: "+end+"[ "+enc+" ]")

0 commit comments

Comments
 (0)