using System;
using System.Text;
using System.Security.Cryptography;
using Extensions.Data;
public class Program
{
public static void Main()
byte[] input = Encoding.ASCII.GetBytes("test"); // the data to be hashed.
byte[] result = null;
using (HashAlgorithm xxhash = XXHash32.Create())
result = xxhash.ComputeHash(input); // compute the hash.
}
if (result != null)
Console.WriteLine(BitConverter.ToInt32(result, 0));