Created
July 29, 2021 21:05
-
-
Save flyingmutant/7159d434f20067e548576501ef6e7262 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gp@gp-thinkpad-x1 ~/d/_/s/build ((fee52b0d…))> ./SMHasher --test=Sanity,BadSeeds wyhash | |
--- Testing wyhash "wyhash v3 (64-bit)" GOOD | |
[[[ Sanity Tests ]]] | |
Verification value 0xA82DBAD7 ....... FAIL! (Expected 0x67031D43) | |
Running sanity check 1 .......... PASS | |
Running AppendedZeroesTest .......... PASS | |
[[[ BadSeeds Tests ]]] | |
Testing 3 internal secrets: | |
0x14cc886e !!!!! Bad seed 0x14cc886e for len 4 confirmed => hashes: 506ca92649cefe27 536676e4012ce58d 536676e4012ce58d 637f6920f0978a01 838339245aa58463 9b95c387d76a80da | |
Testing collisions ( 64-bit) - Expected 0.0, actual 1 (1229782938247303424.00x) (1) !!!!! | |
Testing collisions (high 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (high 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (high 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (high 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing collisions (low 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (low 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (low 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (low 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing distribution - Worst bias is the -1-bit window at bit -1 - 0.000% | |
!!!!! Bad seed 0x14cc886e for len 8 confirmed => hashes: 106225782488d2c6 352d3cb45ad70d54 564d377a9d4e09f5 f0a0ce1b0f1e0afe fb60a4fa931fbb70 fb60a4fa931fbb70 | |
Testing collisions ( 64-bit) - Expected 0.0, actual 1 (1229782938247303424.00x) (1) !!!!! | |
Testing collisions (high 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (high 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (high 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (high 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing collisions (low 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (low 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (low 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (low 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing distribution - Worst bias is the -1-bit window at bit -1 - 0.000% | |
!!!!! Bad seed 0x14cc886e for len 12 confirmed => hashes: 55dfeb913b0891c 189ae2fd151acad5 189ae2fd151acad5 361c75f2159a8f4b 3d3b1c0d804acd71 51f296e4045c59d6 | |
Testing collisions ( 64-bit) - Expected 0.0, actual 1 (1229782938247303424.00x) (1) !!!!! | |
Testing collisions (high 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (high 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (high 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (high 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing collisions (low 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (low 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (low 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (low 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing distribution - Worst bias is the -1-bit window at bit -1 - 0.000% | |
!!!!! Bad seed 0x14cc886e for len 16 confirmed => hashes: 67397ae6da1715e6 c09b10f3a7159bd8 c09b10f3a7159bd8 e389c31487c8a253 f9a3c4f3b86b0803 fd30986f73042178 | |
Testing collisions ( 64-bit) - Expected 0.0, actual 1 (1229782938247303424.00x) (1) !!!!! | |
Testing collisions (high 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (high 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (high 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (high 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing collisions (low 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (low 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (low 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (low 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing distribution - Worst bias is the -1-bit window at bit -1 - 0.000% | |
0x14cc886e00000000 0x1bf4ed84 !!!!! Bad seed 0x1bf4ed84 for len 4 confirmed => hashes: 1a0a7115461e81e2 1a0a7115461e81e2 52fb86bb4efcf69b 83041bd2a8bbb21e be4568caf9b5e3b4 ebfabe22bf8ce636 | |
Testing collisions ( 64-bit) - Expected 0.0, actual 1 (1229782938247303424.00x) (1) !!!!! | |
Testing collisions (high 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (high 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (high 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (high 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing collisions (low 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (low 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (low 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (low 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing distribution - Worst bias is the -1-bit window at bit -1 - 0.000% | |
!!!!! Bad seed 0x1bf4ed84 for len 8 confirmed => hashes: 136870fb8dc09396 14e8ad4a828d0bd6 4caad0d03ef49e8e 5a0926c909e3636d 5a0926c909e3636d 638ea24e7f3811eb | |
Testing collisions ( 64-bit) - Expected 0.0, actual 1 (1229782938247303424.00x) (1) !!!!! | |
Testing collisions (high 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (high 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (high 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (high 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing collisions (low 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (low 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (low 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (low 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing distribution - Worst bias is the -1-bit window at bit -1 - 0.000% | |
!!!!! Bad seed 0x1bf4ed84 for len 12 confirmed => hashes: 9cb473e61837d01 287dae2b2b7ce8f0 9b82a66a6aafee14 d458cbda382624af e0e6fc8bcce9400e e0e6fc8bcce9400e | |
Testing collisions ( 64-bit) - Expected 0.0, actual 1 (1229782938247303424.00x) (1) !!!!! | |
Testing collisions (high 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (high 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (high 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (high 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing collisions (low 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (low 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (low 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (low 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing distribution - Worst bias is the -1-bit window at bit -1 - 0.000% | |
!!!!! Bad seed 0x1bf4ed84 for len 16 confirmed => hashes: 1396aaf62a5b19c9 20e5924f97ff25b6 20e5924f97ff25b6 8d00b658f88b98cb 9649ee694c3779e2 d1693c3df7dc5968 | |
Testing collisions ( 64-bit) - Expected 0.0, actual 1 (1229782938247303424.00x) (1) !!!!! | |
Testing collisions (high 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (high 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (high 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (high 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing collisions (low 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (low 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (low 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (low 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing distribution - Worst bias is the -1-bit window at bit -1 - 0.000% | |
0x1bf4ed8400000000 0x14cc886e14cc886e !!!!! Bad seed 0x14cc886e14cc886e for len 4 confirmed => hashes: 506ca92649cefe27 536676e4012ce58d 536676e4012ce58d 637f6920f0978a01 838339245aa58463 9b95c387d76a80da | |
Testing collisions ( 64-bit) - Expected 0.0, actual 1 (1229782938247303424.00x) (1) !!!!! | |
Testing collisions (high 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (high 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (high 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (high 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing collisions (low 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (low 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (low 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (low 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing distribution - Worst bias is the -1-bit window at bit -1 - 0.000% | |
!!!!! Bad seed 0x14cc886e14cc886e for len 8 confirmed => hashes: 106225782488d2c6 352d3cb45ad70d54 564d377a9d4e09f5 f0a0ce1b0f1e0afe fb60a4fa931fbb70 fb60a4fa931fbb70 | |
Testing collisions ( 64-bit) - Expected 0.0, actual 1 (1229782938247303424.00x) (1) !!!!! | |
Testing collisions (high 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (high 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (high 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (high 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing collisions (low 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (low 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (low 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (low 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing distribution - Worst bias is the -1-bit window at bit -1 - 0.000% | |
!!!!! Bad seed 0x14cc886e14cc886e for len 12 confirmed => hashes: 55dfeb913b0891c 189ae2fd151acad5 189ae2fd151acad5 361c75f2159a8f4b 3d3b1c0d804acd71 51f296e4045c59d6 | |
Testing collisions ( 64-bit) - Expected 0.0, actual 1 (1229782938247303424.00x) (1) !!!!! | |
Testing collisions (high 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (high 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (high 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (high 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing collisions (low 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (low 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (low 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (low 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing distribution - Worst bias is the -1-bit window at bit -1 - 0.000% | |
!!!!! Bad seed 0x14cc886e14cc886e for len 16 confirmed => hashes: 67397ae6da1715e6 c09b10f3a7159bd8 c09b10f3a7159bd8 e389c31487c8a253 f9a3c4f3b86b0803 fd30986f73042178 | |
Testing collisions ( 64-bit) - Expected 0.0, actual 1 (1229782938247303424.00x) (1) !!!!! | |
Testing collisions (high 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (high 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (high 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (high 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing collisions (low 32-bit) - Expected 0.0, actual 1 (286331153.07x) (1) | |
Testing collisions (low 6- 2 bits) - Worst is 0 bits: 0/ 1 (0.00x) | |
Testing collisions (low 12-bit) - Expected 0.0, actual 1 (273.07x) (1) | |
Testing collisions (low 8-bit) - Expected 0.1, actual 1 (17.07x) (1) | |
Testing distribution - Worst bias is the -1-bit window at bit -1 - 0.000% | |
*********FAIL********* | |
Input vcode 0x00000001, Output vcode 0x00000001, Result vcode 0x00000001 | |
Verification value is 0x00000001 - Testing took 1.398160 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment