hash that depends on string, not on object