Example #1
0
        /// <inheritdoc />
        public int[] GetSubseed(Seed seed, int index)
        {
            var subseed = Converter.AddTrits(seed.ToTrits(), Converter.IntToTrits(index, 27));

            this.CurlOne.Reset();
            this.CurlOne.Absorb(subseed);
            this.CurlOne.Squeeze(subseed);

            return(subseed);
        }