Database sharding based on SHA256