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
Release history Release notifications | RSS feed
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)
Built Distribution
shadowhash-0.0.1-py3-none-any.whl
(15.6 kB
view hashes)
Close
Hashes for shadowhash-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2638ca06854dd5e18af1b3bf447a5802db80296c21561c9a33410b22fb276ff4 |
|
MD5 | a472234374c13bfa6780494d3a538860 |
|
BLAKE2b-256 | c279ce49eb20c4af08ad03374196b44b5afe2d74d4d3fe44525ee961c0c6f1bc |