Add "Mulvey" FNV variant

This varient is suggested by Bret Mulvey at the end of this blog post. It's just FNV-1a with some mixing the end. This brings the hash to 40 / 182 passed tests (as opposed to 7 / 231 for FNV-1a-32).

-------------------------------------------------------------------------------
Log2(p-value) summary:
	  0    1    2    3    4    5    6    7    8    9 
	---- ---- ---- ---- ---- ---- ---- ---- ---- ----
	 434   99   63   33   20   17   14   11    5    4

	 10   11   12   13   14   15   16   17   18   19+
	---- ---- ---- ---- ---- ---- ---- ---- ---- ----
	   3    2    6    5    4    2    3    3    0  919

-------------------------------------------------------------------------------
Overall result: FAIL            ( 40 / 182 passed)
Failures:
    Avalanche           : [3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 20, 64, 128]
    BIC                 : [3, 8, 11, 15]
    Cyclic              : [4 cycles of 5 bytes, 4 cycles of 8 bytes, 8 cycles of 3 bytes, 8 cycles of 4 bytes, 8 cycles of 5 bytes, 8 cycles of 8 bytes, 12 cycles of 8 bytes, 16 cycles of 3 bytes, 16 cycles of 4 bytes, 16 cycles of 5 bytes, 16 cycles of 8 bytes]
    Sparse              : [3, 4, 9, 16, 32, 48, 64, 96, 256, 512, 1024, 1280]
    Permutation         : [4-bytes [3 low bits; LE], 4-bytes [3 low bits; BE], 4-bytes [3 high bits; LE], 4-bytes [3 high bits; BE], 4-bytes [3 high+low bits; LE], 4-bytes [3 high+low bits; BE], 4-bytes [0, low bit; LE], 4-bytes [0, low bit; BE], 4-bytes [0, high bit; LE], 4-bytes [0, high bit; BE], 8-bytes [0, low bit; LE], 8-bytes [0, low bit; BE], 8-bytes [0, high bit; LE], 8-bytes [0, high bit; BE]]
    Text                : [FXXXXB, FBXXXX, XXXXFB, FooXXXXBar, FooBarXXXX, XXXXFooBar, FooooXXXXBaaar, FooooBaaarXXXX, XXXXFooooBaaar, FooooooXXXXBaaaaar, FooooooBaaaaarXXXX, XXXXFooooooBaaaaar, FooooooooXXXXBaaaaaaar, FooooooooBaaaaaaarXXXX, XXXXFooooooooBaaaaaaar, FooooooooooXXXXBaaaaaaaaar, FooooooooooBaaaaaaaaarXXXX, XXXXFooooooooooBaaaaaaaaar, Words alnum 1-4]
    TwoBytes            : [8]
    PerlinNoise         : [2]
    DiffDist            : [4, 8]
    SeedZeroes          : [1280, 8448]
    SeedBlockLen        : [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31]
    SeedBlockOffset     : [0, 1, 2, 3, 4, 5]
    Seed                : [2, 3, 6, 15, 18, 31, 52, 80, 200, 1025]
    SeedSparse          : [2, 3, 6, 15, 18, 31, 52, 80, 200, 1025]
    SeedAvalanche       : [4, 8, 16, 24, 32, 64, 128]
    SeedBIC             : [3, 8, 11, 15]
    SeedDiffDist        : [4, 8]

-------------------------------------------------------------------------------

Merge request reports

Loading