LinuxCommandLibrary

apgbfm

Manage bloom filters for password checking

TLDR

Generate bloom filter from dictionary

$ apgbfm -d [dictionary.txt] -f [filter.bf]
copy
Check a word against filter
$ apgbfm -f [filter.bf] -c [password]
copy
Create filter with specific size
$ apgbfm -d [dictionary.txt] -f [filter.bf] -n [1000000]
copy

SYNOPSIS

apgbfm [-d dictfile] [-f filterfile] [-n size] [-c word]

DESCRIPTION

apgbfm (APG Bloom Filter Manager) creates and manages bloom filters for the apg password generator. Bloom filters enable fast dictionary checking without loading entire dictionaries into memory.
This tool is used to create filter files from word lists that apg can use to avoid generating passwords that appear in common password dictionaries.

PARAMETERS

-d file

Dictionary file (word list)
-f file
Bloom filter file
-n size
Number of elements (affects accuracy)
-c word
Check if word might be in filter
-v
Verbose output

CAVEATS

Bloom filters have false positives but no false negatives. A rejected password might not actually be in the dictionary, but an accepted one definitely isn't. Filter size affects accuracy.

HISTORY

apgbfm was created as a companion tool to apg, using bloom filters to efficiently check generated passwords against large dictionaries.

SEE ALSO

apg(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community