murmur3 1.0.0

Non cryptographic hash function murmur3

Install-Package murmur3 -Version 1.0.0
dotnet add package murmur3 --version 1.0.0
<PackageReference Include="murmur3" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add murmur3 --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

MurMur3 hash


An implementation of the Murmur3 hash for .NET

Example

const string source = "Hello world!";
string hash;

using (var murmur32 = new Murmur32())
{
    byte[] data = murmur32.ComputeHash(Encoding.UTF8.GetBytes(source));
    hash = ConvertBytesToString(data);
}
Console.WriteLine($"The SHA256 hash of '{source}' is: {hash}.");

MurMur3 hash


An implementation of the Murmur3 hash for .NET

Example

const string source = "Hello world!";
string hash;

using (var murmur32 = new Murmur32())
{
    byte[] data = murmur32.ComputeHash(Encoding.UTF8.GetBytes(source));
    hash = ConvertBytesToString(data);
}
Console.WriteLine($"The SHA256 hash of '{source}' is: {hash}.");

  • .NETStandard 2.0

    • No dependencies.

Version History

Version Downloads Last updated
1.0.0 124 9/28/2018