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.1
- This version contains the very core of this package
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 passtools
To import pypasstools module, just add this line to your python code
import pypasstools
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 pypasstools
password = pypasstools.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
pypasstools-0.0.1.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for pypasstools-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd59d0fd2e7e707bea0081772c1fe1912d2d468830ee7578471e760e428950a1 |
|
MD5 | 3dc92f1b0acc7841b544168923a478de |
|
BLAKE2b-256 | 75470a6a499a6bf355e723c74687f7fd1aea237942c17360d8170d1c82bd0a5a |