C# murmurhash 实现

35 篇文章 1 订阅

(1)

murmurhash 1.0.3

https://www.nuget.org/packages/murmurhash

darrenkopp / murmurhash-net

https://github.com/darrenkopp/murmurhash-net

(2)

C# Murmur 3 hash anyone?

http://www.sebaslab.com/murmur-3-hash-anyone/

If you need a fast and reliable (read very good to avoid collisions) hashing algorithm (not cryptographic), look no further, Murmur 3 is here to the rescue.

Take it from here, it’s compatible with Unity3D.

Directly translated from the c++ version.

More info on Wikipedia and on this definitive answer on stack overflow

 

sebas77 / Murmur3.net

https://github.com/sebas77/Murmur3.net/blob/master/Murmur3hash.cs

(3)

bing    unity   MurmurHash

Unity-Technologies / xxHash

https://github.com/Unity-Technologies/xxHash

Extremely fast non-cryptographic hash algorithm http://www.xxhash.com/

在这里面

http://cyan4973.github.io/xxHash/

Multiple languages

The following versions produce xxHash-compatible results in different languages.

LanguageAuthorURL
Java (XXH32)Adrien Grandhttps://github.com/jpountz/lz4-java
Java (XXH64)Vsevolod Tolstopyatovhttps://github.com/OpenHFT/Zero-Allocation-Hashing
JavaScript (port)Pierre Curtohttps://npmjs.org/package/xxhashjs
JavaScript (nodeJS)Brian Whitehttps://npmjs.org/package/xxhash
JSX (static JavaScript)Yoshiki Shibukawahttps://www.npmjs.org/package/xxhash.jsx
C# (XXH32)Seok-ju Yunhttps://github.com/noricube/xxHashSharp
C# (XXH64)Brandon Dahlerhttp://www.nuget.org/packages/System.Data.HashFunction.xxHash
C# (endian independent)Otakuhttps://github.com/differentrain/YYProject.XXHash
C# (.net std 2.0)Sedat Kapanoğluhttps://github.com/ssg/HashDepot#xxhash
C++ 14Red Gavinhttps://github.com/RedSpah/xxhash_cpp
Python (XXH32)Ewen Cheslack-Postavahttps://pypi.python.org/pypi/pyhashxx/
Python (XXH64)Yue Duhttps://pypi.python.org/pypi/xxhash/
PHPNir Heimannhttps://github.com/nheimann1/php-xxhash
PHP7Craig R Megasaxonhttps://github.com/Megasaxon/php-xxhash
PHP (port)Scott Duttonhttps://github.com/exussum12/xxhash
PerlSanko Robinsonhttps://metacpan.org/module/Digest::xxHash
Perl (streaming)Bela Bodecshttps://github.com/DoubleBB/digest-xxhash64
Ruby (port)Justin W Smithhttp://rubygems.org/gems/ruby-xxHash
Ruby (wrapper)Vasiliy Ermolovichhttps://rubygems.org/gems/xxhash
Ruby (digest::class)konsoleboxhttps://rubygems.org/gems/digest-xxhash
SwiftDaisuke Thttps://github.com/daisuke-t-jp/xxHash-Swift
PascalVojtěch Čihákhttp://sourceforge.net/projects/xxhashfpc
Go (XXH32)Stéphane Bunelhttps://bitbucket.org/StephaneBunel/xxhash-go
Go (XXH64)Ahmed Waheedhttps://github.com/OneOfOne/xxhash
Go + ASMCaleb Sparehttps://github.com/cespare/xxhash
RDirk Eddelbuettelhttps://github.com/eddelbuettel/digest
DMasahiro Nakagawahttps://github.com/repeatedly/xxhash-d
RustJake Gouldinghttps://libraries.io/cargo/twox-hash
Lua (binding)Masatoshi Teruyahttps://github.com/mah0x211/lua-xxhash
Lua (jit, XXH32)szenskhttps://github.com/szensk/luaxxhash
Lua (jit, XXH64)Soojin Namhttps://github.com/sjnam/luajit-xxHash
JuliaHanan Rosemarinhttps://github.com/hros/XXhash.jl
ErlangPierre Matrihttps://github.com/pierresforge/erlang-xxhash
HaskellChristian Mariehttp://hackage.haskell.org/package/xxhash
PicoLispMike Mihailphttps://t.co/86cIjhApmj
ElixirMykola Konykhttps://github.com/ttvd/elixir-xxhash
Tcl (XXH32, port)D. Bohdanhttps://wiki.tcl-lang.org/48790
Bash (port)Devin Husseyhttps://github.com/easyaspi314/xxbash
sh (port)Jan Chrenhttps://gitlab.com/rindeal/xxHashish
CrystalLucjan Suskihttps://github.com/methyl/xxhash

 

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值