# Package org.xlattice.crypto.filters

Bloom filter implementation used by DecayingBloomFilter for efficient set membership testing.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  KeySelector.BitSelector | Interface for extracting bit offsets from cryptographic keys for Bloom filter operations.
  KeySelector.WordSelector | Interface for extracting word offsets from cryptographic keys for Bloom filter operations.

- Class Summary
  Class | Description
  --- | ---
  BloomSHA1 | A Bloom filter for sets of SHA1 digests.
  BloomSHA1.FilterKey | Stores the (opaque) bloom filter offsets for reuse.
  KeySelector | Utility class for extracting word and bit offsets from cryptographic keys for Bloom filter operations.

## Package org.xlattice.crypto.filters Description

Bloom filter implementation used by DecayingBloomFilter for efficient set membership testing.

This package provides:

- Bloom filter data structure
- Space-efficient set membership queries
- Configurable false-positive rate
- Optimized for cryptographic applications

The Bloom filter is used by net.i2p.router.util.DecayingBloomFilter for tracking and filtering router information with tunable false-positive rates, providing efficient memory usage and fast lookups.