Passtools is a package that allows you to use tools with which you can do all kinds of stuff with passwords
Project description
Passtools
pypasstools allows tools that will provide you with functionality to do all kinds of stuff with passwords.
About this version
- Version = 0.0.11
- This version contains documentation updates
Installing and Updating pypasstools
Follow the installation process accroding to your OS.
To install or upgrade pypasstools on windows
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 or upgrade pypasstools on mac
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 or upgrade pypasstools on linux
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!
Documentation
Importing pypasstools
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
passhash()
The passhash()
hashes a string in a secure and fast way.
Parameters
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 |
Code example
import passtools
password = passtools.passhash("Super Secret password", hash_type="md5", hash_strength=3)
print(password)
Output:
ba1ad8dbb5655bd1b193de019f3f87c2
More documentation will be added soon ..
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pypasstools-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edf6077284e5032a29d5775d7a9575a03ff1773733b1bf7b2d0627964632b3b2 |
|
MD5 | 2a040a8b56ff17c2ba696d339cf51f24 |
|
BLAKE2b-256 | f5d11ad457678b0294a7d0465c0acbb8fefae05d9441f1c7cc3b41adee8c8dae |