Skip to main content

Universal password hash generator and verifier

Project description

HashPW

This is a Python program that prompts for a password and prints the hash. Also has a verify mode that confirms whether or not a provided hash matches a typed password.

This command generates a wide variety of password hashes. Sensible use of exceptions handle most error conditions.

Run hashpw --help for info.

Supported algorithms (hash type identifiers highlighted):

  • bcrypt: Portable PHP password hashing framework, a.k.a. Phpass ($P$)
  • phpBB3 bcrypt ($H$)
  • Blowfish
  • Unix schemes: Crypt (two character salt), MD5 ($1$), blowfish ($2a$), SHA-256 ($5$), SHA-512 ($6$)
  • Apache: SHA1 ({SHA}), MD5 ($apr1$)
  • MySql: SHA1 (*), Old
  • Basic MD5
  • SSHA
  • Django: PBKDF2

Bugs

  • When supplying a salt (not a full hash) in verify mode, get "ext-des hashing does not appear to be supported on this platform"

TO-DO

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

hashpw-2.6.0.tar.gz (24.8 kB view hashes)

Uploaded Source

Built Distribution

hashpw-2.6.0-py2.py3-none-any.whl (25.9 kB view hashes)

Uploaded Python 2 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