str->hash