Using this script, you can encrypt your password.
- First install
pcryptmodule via command prompt or any terminal which you use by running the following command:
pip install pcrypt- Import
pcryptmodule to encrypt passwords. - Import
getpassmodule to get password from user input in hidden mode.
The rounds=N option helps to improve key strengthening.
The number of rounds has a larger impact on security than the selection of a hash function.
For example, rounds=65536 means that an attacker has to compute 65536 hashes for each password he tests against the hash.