Example #1
0
        public static ulong ComputeAll(params Guid[] values)
        {
            var algorithm = new Fnv1A();

            foreach (var value in values)
            {
                algorithm.Compute(value.ToByteArray());
            }
            return(algorithm.Hash);
        }
Example #2
0
        public static ulong ComputeAll(params string[] values)
        {
            var algorithm = new Fnv1A();

            foreach (var value in values)
            {
                algorithm.Compute(value);
            }
            return(algorithm.Hash);
        }