HashFilter.this

Construct a hash filter.

  1. this(HashFunction hash_fun, size_t len)
    class HashFilter
    public
    this
    (,
    size_t len = 0
    )
  2. this(string algo_spec, size_t len)

Parameters

hash_fun HashFunction

the hash function to use

len size_t

the output length of this filter. Leave the default value 0 if you want to use the full output of the hashfunction hash. Otherwise, specify a smaller value here so that the output of the hash algorithm will be cut off.

Meta