The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Data::Passphrase::Phrasebook::Bloom - Bloom filter phrasebooks

SYNOPSIS

See "SYNOPSIS" in Data::Passphrase::Phrasebook.

DESCRIPTION

This module subclasses Data::Passphrase::Phrasebook to use a Bloom filter to store the phrasebook instead of a Perl hash. Bloom filters offer memory economy at the cost of false positives.

Attributes

This module provides the following attributes in addition to the attributes inherited from Data::Passphrase::Phrasebook. These attributes are passed along to the contained Bloom::Filter object.

capacity

The total number of items the Bloom filter can hold.

error_rate

The maximum error rate of the Bloom filter. The default is 0.0001.

AUTHOR

Andrew J. Korty <ajk@iu.edu>

SEE ALSO

Bloom::Filter(3), Data::Passphrase(3)