News for hackers. Stuff that matters.
Re:A journey to searching Have I Been Pwned database in 49μs by krackers on Sunday March 01, 2020 @05:20PM (#22459766)
If you were to just throw the file into a database, wouldn't the database's index essentially lead to the same result (b-tree, compacted using bulk-loading procedure).
Re:A journey to searching Have I Been Pwned database in 49μs by nightfly on Sunday March 01, 2020 @05:23PM (#22459795)
I briefly had a Rocket/IRC bot that talked to a postgres instance with the HIBP DB loaded into it, and yes it worked great.
Re:A journey to searching Have I Been Pwned database in 49μs by stryku2393 on Monday March 02, 2020 @03:34PM (#22468621)
True, but I wanted to create a library and a CLI without dependencies. I don't want to force an end user to install and use a database (even under the hood).