hash: New helper functions hash_bytes32() and hash_bytes64().