Skip to main content

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

Release files for shadowhash 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shadowhash 0.0.1
File Size Uploaded
shadowhash-0.0.1.tar.gz 15.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for shadowhash 0.0.1
File Interpreter ABI Platform
shadowhash-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 30.8 kB

Release files / shadowhash-0.0.1.tar.gz

Download URL shadowhash-0.0.1.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bfd1f006cbde437a1dea91892d679aee6e1229621f494a8a6eabb9141f388e75
BLAKE2b-256 checksum
How to use checksums
c9825f2349d8c59878f1642220166fbe7eefe22e2e09a33b9b14938e81d7a2c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / shadowhash-0.0.1-py3-none-any.whl

Download URL shadowhash-0.0.1-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2638ca06854dd5e18af1b3bf447a5802db80296c21561c9a33410b22fb276ff4
BLAKE2b-256 checksum
How to use checksums
c279ce49eb20c4af08ad03374196b44b5afe2d74d4d3fe44525ee961c0c6f1bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page