Use SHA1 hash instead of naive String#hash