I try to encrypt a string in sha1 and I get an error message from the server:
"No Module Named hashlib"
Using the following code:
import hashlib
encrypted = hashlib.sha1(string)
encrypted = encrypted.digest()
I would be grateful for any help,
Thank you Guy Dor
user330885
source
share