Skip to main content

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:

  1. Open cmd or powershell
  2. Run this command
pip install pypasstools
  1. You have successfully installed it!

To upgrade pypasstools:

  1. Open cmd or powershell
  2. Run this command
pip install pypasstools --upgrade
  1. You have successfully installed it!

To install or upgrade pypasstools on mac

To install pypasstools:

  1. Open terminal
  2. Run this command
pip3 install pypasstools
  1. You have successfully installed it!

To upgrade pypasstools:

  1. Open terminal
  2. Run this command
pip3 install pypasstools --upgrade
  1. You have successfully upgraded it!

To install or upgrade pypasstools on linux

To install pypasstools:

  1. Open terminal
  2. Run this command
sudo pip3 install pypasstools
  1. You have successfully installed it!

To upgrade pypasstools:

  1. Open terminal
  2. Run this command
sudo pip3 install pypasstools --upgrade
  1. 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


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.11.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

pypasstools-0.0.11-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page