Releases: wangyi-fudan/wyhash
Releases · wangyi-fudan/wyhash
wyhash_final4
completely solved BadSeeds
The final release
Merge pull request #111 from oertl/master add reference to Java implementation
wyhash version alpha
wyhash_alpha Update README.md
wyhash version 5
wyhash_v5 Add files via upload
wyhash version 4
wyhash("",0)=bc98efd7661a7a1
wyhash("a",1)=99782e84a7cee30
wyhash("abc",2)=973ed17dfbe006d7
wyhash("message digest",3)=c0189aa4012331f5
wyhash("abcdefghijklmnopqrstuvwxyz",4)=da133f940b62e516
wyhash("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",5)=e062dfda99413626
wyhash("12345678901234567890123456789012345678901234567890123456789012345678901234567890",6)=77092dd38803d1fa
wyhash&wyrand version 3
V3 formating
wyhash & wyrand release version 1
wyhash test vectors:
wyhash("",0)=f961f936e29c9345
wyhash("a",1)=6dc395f88b363baa
wyhash("abc",2)=3bc9d7844798ddaa
wyhash("message digest",3)=b31238dc2c500cd3
wyhash("abcdefghijklmnopqrstuvwxyz",4)=ea0f542c58cddfe4
wyhash("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",5)=1799aca591fe73b4
wyhash("12345678901234567890123456789012345678901234567890123456789012345678901234567890",6)=7f0d02f53d64c1f9
wyrand code:
inline unsigned long long wyrand(unsigned long long *seed){
*seed+=0xa0761d6478bd642full;
__uint128_t t=(__uint128_t)(*seed^0xe7037ed1a0b428dbull)*(*seed);
return (t>>64)^t;
}