Closed mahdiit closed 5 years ago
This is just a year late, but you probably intend:
var c = CRCFactory.Instance.Create(CRCConfig.CRC32); // <<===
Console.WriteLine("Enter:");
var result = c.ComputeHash(Encoding.UTF8.GetBytes(Console.ReadLine()));
var dt = result.AsHexString();
Console.WriteLine(dt);
Console.ReadKey();
That doesn't explain your error message, but does fix the fact that it was returning 00000000 every time.
Closing because I assume you have probably moved on by now.
i try using CRC hash but i get this error:
My Code is: