Using inline hash functions