Re:"Pwned Passwords" V2 With Half a Billion Passwords
by frumiousirc on Thursday February 22, 2018 @08:56AM
(#16437524)
Here's how I tested:
echo -n 'hunter2' | sha1sum
f3bbbd66a63d4bf1747940578ec3d0103530e21d -
https://api.pwnedpasswords.com/range/f3bbbC-f d66a6 finds
D66A63D4BF1747940578EC3D0103530E21D:16092
edit: Ok, so my `openssl sha1` (version 1.0.x) outputs '(stdin) <hash>', whereas the script expects just <hash>. add ' | cut -f2 -d" "' after the 'openssl sha1' call to fix this if you have the same problem.