Hasher class