password-hasher/README.md
2023-12-15 22:07:05 +00:00

3.2 KiB


Logo

Password Hasher

Python Password Hasher

Version Pull Requests Issues



Table of Contents

About

Python utility to hash passwords. Often when creating a user, a hashed password is needed. This cammond line utility can simply hash the password or multiple parameters can be passed to replicated. password, salt, hashing algorithm, pass+salt concatination order, and number of iterations can all be specified.

Usage: password_hash.py [OPTIONS] <PASSWORD>

Options:
  -h, --help            show this help message and exit
  -s SALT, --salt=SALT  specify salt
  -i ITERATIONS, --iterations=ITERATIONS
                        specify number of iterations to hash password
  -o ORDER, --order=ORDER
                        order the password and salt ex. "ps" to append salt
  --hash=HASH           hash algorithm to be used
  --hash-algorithms     display available hash algorithms and exit

Built With

Python

Setup

Production

Prerequisites

Instructions

  1. Download script & make executable: curl https://git.zakscode.com/ztimson/password-hasher/raw/branch/develop/password_hash.py && chmod 0775 password_hasher.py
  2. Run python script: ./password_hasher.py [OPTIONS] <PASSWORD>

License

Copyright © 2007 Zakary Timson | Available under the GNU General Public License

See the license for more information.