Better HN
topnewbestaskshowjobs
Log inSign up

atnurbel

18 karma · joined Jan 18, 2019 (7y ago) · 1 submissions

Submissions

comment 7y ago · link · parent

haveibeenpwned has an api to check your password against their known list that only requires to send the first 5 characters of the sha-1 hash: https://api.pwnedpasswords.com/range/5407a.

You get a list of corresponding hash suffixes and check if yours is there. https://haveibeenpwned.com/api/v2/#SearchingPwnedPasswordsBy...