static Guid DeterministicFarmHash(string src) { var stringBytes = Encoding.UTF8.GetBytes(src); var provider = new FarmHash128(ulong.MinValue); return(new Guid(provider.ComputeHash(stringBytes))); }
static Guid DeterministicFarmHashReuse(string src) { var stringBytes = Encoding.UTF8.GetBytes(src); return(new Guid(farmHash128Provider.ComputeHash(stringBytes))); }