Idea taken from https://www.bloomingpassword.fun/
git clone https://github.com/daedalus/fastBloomFilter
cd fastbloomfilter
sudo pip install -e .
or
sudo pip install fastbloomfilter
Grab the HIBP file (https://downloads.pwnedpasswords.com/passwords/pwned-passwords-ordered-2.0.txt.7z.torrent):
7z e -so -bd pwned-passwords-ordered-2.0.txt.7z | cut -c 1-40 > 40.txt
python3 loadbloom.py 512MB 40.txt HIBP_512MB.blf
python3 checkbloom HIBP_512MB.blf "blah"