Specs for hash-related functionality