bloomfilter.js
bloomfilter.js copied to clipboard
Possible to serialize?
We're wondering if we can store the filter somehow for use later.
@devinus
var array = [].slice.call(bloom.buckets),
json = JSON.stringify(array);
should work for serialization. Take a look at https://github.com/mozilla/fxa-password-strength-checker for a stored filter.