- Checked hash function.