HashFilter.this

Construct a hash filter.

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

Parameters

algo_spec string

the name of the hash algorithm 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