YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Bloom-Filter-Hash: Pretrained Filters
Here are some pre-created filters to you use with the bloom-filter-hash python package.
Each set of filters has been gzipped to save storage.
How to use:
Clone this model:
# Make sure git-xet is installed (https://hf.co/docs/hub/git-xet)
git xet install
git clone https://huggingface.co/sw241395/bloom-filter-hash
Gunzip the filters:
tar -xzvf /path/to/filters.tar.gz
Use the filters with the associated python package:
from bloom_filter_hash import break_hash
password = break_hash(
'fb8e20fc2e4c3f248c60c39bd652f3c1347298bb977b8b4d5903b85055620603',
'sha256',
path_to_filters="/path/to/dir/containing/unzipped/filters/"
)
print(password)
Filters:
Here is a description of the pre-created filters. If you are interested in the charset used then can can see that in the metadata.json provided within the gzipped filters.
./sha256/2.tar.gz- SHA256 passwords for len 2
./sha256/3.tar.gz- SHA256 passwords for len 3
./sha256/4.tar.gz- SHA256 passwords for len 4
./sha256/5.tar.gz- SHA256 passwords for len 5 (Only alpha numeric, A-Z, a-z, 0-9)
TODO
Here are a list of pre-created commands to run and create more filters
export LEN=6; uv run bloom-hash train "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" $LEN --hash-alg sha256; cd ./pretrained_filters/sha256; tar -I 'gzip -9' -cvf $LEN.tar.gz $LEN; rm -rf $LEN; cd ../../- SHA256 passwords for len 6
export LEN=7; uv run bloom-hash train "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" $LEN --hash-alg sha256; cd ./pretrained_filters/sha256; tar -I 'gzip -9' -cvf $LEN.tar.gz $LEN; rm -rf $LEN; cd ../../- SHA256 passwords for len 7
export LEN=8; uv run bloom-hash train "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" $LEN --hash-alg sha256; cd ./pretrained_filters/sha256; tar -I 'gzip -9' -cvf $LEN.tar.gz $LEN; rm -rf $LEN; cd ../../- SHA256 passwords for len 8