pypasstools allows tools that will provide you with functionality to do all kinds of stuff with passwords.
- Version = 0.0.11
- This version contains documentation updates
Follow the installation process accroding to your OS.
To install pypasstools:
- Open cmd or powershell
- Run this command
pip install pypasstools
- You have successfully installed it!
To upgrade pypasstools:
- Open cmd or powershell
- Run this command
pip install pypasstools --upgrade
- You have successfully installed it!
To install pypasstools:
- Open terminal
- Run this command
pip3 install pypasstools
- You have successfully installed it!
To upgrade pypasstools:
- Open terminal
- Run this command
pip3 install pypasstools --upgrade
- You have successfully upgraded it!
To install pypasstools:
- Open terminal
- Run this command
sudo pip3 install pypasstools
- You have successfully installed it!
To upgrade pypasstools:
- Open terminal
- Run this command
sudo pip3 install pypasstools --upgrade
- You have successfully upgraded it!
To import pypasstools module, just add this line to your python code. As you can see, you import it with a different name
import passtools
The passhash()
hashes a string in a secure and fast way.
Parameter | Default value | Description | Data Type |
---|---|---|---|
prompt | NO DEFULT VALUE | The string to hash | string |
hash_type | sha256 | The hash type of your hash. Hash Types available: 1. sha256 2. sha1 3. sha224 4. sha384 5. sha512 6. md5 | string |
hash_strength | 1 | How strong you want your hash to be. This is done my hashing the hash in a loop. The more the strength, the more time it will take. | integer |
import passtools
password = passtools.passhash("Super Secret password", hash_type="md5", hash_strength=3)
print(password)
Output:
ba1ad8dbb5655bd1b193de019f3f87c2
More documentation will be added soon ..