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 hashes)

Uploaded Source

Built Distribution

shadowhash-0.0.1-py3-none-any.whl (15.6 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