thashdump - hashcrush - Compute Argon2id hashes
(HTM) git clone git://git.z3bra.org/hashcrush.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
thashdump (254B)
---
1 #!/bin/sh
2
3 set -o noglob
4
5 while read PASS; do
6 # Argon2id / SHA256; comment out one
7 HASH=$(./tools/hashgen -p "$PASS")
8 #HASH=$(printf '%s' "$PASS"|openssl sha256|cut -d' ' -f2)
9
10 printf '+%d,%d:%s->%s\n' "${#HASH}" "${#PASS}" "${HASH}" "${PASS}"
11 done