Skip to main content

Generate /etc/shadow crypt hashes

Project description

shadowhash

Generate /etc/shadow crypt hashes. You can see the list and format of hashes in man 5 crypt.

Usage

By default a yescrypt hash will be generated (used in latest GNU/Linux):

$ shadowhash P4ssw0rd
$y$j9T$t7MgdzAA4NZLiAVe.dLJD/$eKtF1WXeiYj5aJe3pD9eAMkHYXHrLIgYrzL1Juz5aQ2

There is option to create other hashes types and send passwords from stdin:

$ echo P4ssw0rd | shadowhash -t 5
$5$DZ3bXwsPgopGm0CQ$Rhg3l4OYopgQkH..BNm/MytzVd0n75oj8KAMDvGpA95

Installation

pip install shadowhash

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

shadowhash-0.0.1.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shadowhash-0.0.1-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file shadowhash-0.0.1.tar.gz.

File metadata

  • Download URL: shadowhash-0.0.1.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for shadowhash-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bfd1f006cbde437a1dea91892d679aee6e1229621f494a8a6eabb9141f388e75
MD5 a462a41b9db754a7b43bee3ee82292a6
BLAKE2b-256 c9825f2349d8c59878f1642220166fbe7eefe22e2e09a33b9b14938e81d7a2c5

See more details on using hashes here.

File details

Details for the file shadowhash-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: shadowhash-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for shadowhash-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2638ca06854dd5e18af1b3bf447a5802db80296c21561c9a33410b22fb276ff4
MD5 a472234374c13bfa6780494d3a538860
BLAKE2b-256 c279ce49eb20c4af08ad03374196b44b5afe2d74d4d3fe44525ee961c0c6f1bc

See more details on using hashes here.

Supported by

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