Provide hashing with unique or shared keys