Hacker News new | past | comments | ask | show | jobs | submit login
When Pwned Passwords Bloom (scotthelme.co.uk)
46 points by tomwas54 on Nov 2, 2021 | hide | past | favorite | 5 comments



I put the HIBP DB into a Bloom filter and put it into a web service that can be hosted locally, in case anyones' interested.

https://github.com/adewes/have-i-been-bloomed


I implemented this three years ago in Go and Java. Go code with working demo is here://github.com/62726164/bp

Edit: To my knowledge, the first suggestion of this idea was by Eugene Spafford in 1992: https://dl.acm.org/citation.cfm?id=134593


Very nice write-up and illustration of Bloom filters.

Something I didn't get though, is why pick k=27 instead of say k=20, which seems to have similar size, but would be faster to query? In fact, varying k between 20 and 30 doesn't seem to have much impact on size, so why not reduce it even further?


More false positives?


But, how long for the galactic reboot?




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: