Petal.Hasher behaviour (petal v0.2.0) View Source
Define the behaviour of hashers.
Link to this section Summary
Callbacks
Takes in a payload
and hashes using the underlying implementation.
Link to this section Callbacks
Specs
hash(payload :: String.t()) :: pos_integer()
Takes in a payload
and hashes using the underlying implementation.