public static int GenerateIntegerId(string seedString)
{
var bytes = Encoding.UTF8.GetBytes(seedString);
SHA256Managed hashstring = new SHA256Managed();
byte[] hash = hashstring.ComputeHash(bytes);
var bignum = BitConverter.ToUInt64(hash, 4);
return (Int32)(bignum % Int32.MaxValue);
}