public Index(string index) { byte[] byteArray = Encoding.UTF8.GetBytes(index); MemoryStream stream = new MemoryStream(byteArray); ISpookyHashV2 spookyHash = SpookyHashV2Factory.Instance.Create(); var hashValue = spookyHash.ComputeHash(stream); Id = hashValue.AsBase64String(); }