password-encryption

How to hide my login and password in the python script?

How to hide my login and password in the python script? Question: How can i not show the login ID and password in the python script? Is there any library or command can I hide those information? For example: login_id = "secret_id" instead of login_id = "[email protected]" password = "secret_password" instead of password = "1234ABCD" …

Total answers: 2

Why is the output of werkzeugs `generate_password_hash` not constant?

Why is the output of werkzeugs `generate_password_hash` not constant? Question: When I run werkzeug.security.generate_password_hash(“Same password”) (docs) multiple times, the output is different each time. What am I doing wrong? Why is it not constant? Asked By: Shankar ARUL || Source Answers: The password is salted, yes. The salt is added to the password before hashing, …

Total answers: 1