Python Password Hasher
.gitignore | ||
LICENSE | ||
password_hash.py | ||
README.md |
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
Setup
Production
Prerequisites
Instructions
- Download script & make executable:
curl https://git.zakscode.com/ztimson/password-hasher/raw/branch/develop/password_hash.py && chmod 0775 password_hasher.py
- 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.