-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wyhash final 4 solve BadSeeds and PerlinNoiseAV test #243
Comments
--- Testing wyhash "wyhash v3 (64-bit)" GOOD [[[ Sanity Tests ]]] Verification value 0x5495398C ....... FAIL! (Expected 0x67031d43) [[[ Speed Tests ]]] Bulk speed test - 262144-byte keys Small key speed test - 1-byte keys - 15.34 cycles/hash [[[ 'Hashmap' Speed Tests ]]] std::unordered_map greg7mdp/parallel-hashmap [[[ Avalanche Tests ]]] Testing 24-bit keys -> 64-bit hashes, 300000 reps.......... worst bias is 0.630667% [[[ Keyset 'Sparse' Tests ]]] Keyset 'Sparse' - 16-bit keys with up to 9 bits set - 50643 keys Keyset 'Sparse' - 24-bit keys with up to 8 bits set - 1271626 keys Keyset 'Sparse' - 32-bit keys with up to 7 bits set - 4514873 keys Keyset 'Sparse' - 40-bit keys with up to 6 bits set - 4598479 keys Keyset 'Sparse' - 48-bit keys with up to 6 bits set - 14196869 keys Keyset 'Sparse' - 56-bit keys with up to 5 bits set - 4216423 keys Keyset 'Sparse' - 64-bit keys with up to 5 bits set - 8303633 keys Keyset 'Sparse' - 72-bit keys with up to 5 bits set - 15082603 keys Keyset 'Sparse' - 96-bit keys with up to 4 bits set - 3469497 keys Keyset 'Sparse' - 160-bit keys with up to 4 bits set - 26977161 keys Keyset 'Sparse' - 256-bit keys with up to 3 bits set - 2796417 keys Keyset 'Sparse' - 512-bit keys with up to 3 bits set - 22370049 keys Keyset 'Sparse' - 1024-bit keys with up to 2 bits set - 524801 keys Keyset 'Sparse' - 2048-bit keys with up to 2 bits set - 2098177 keys [[[ Keyset 'Permutation' Tests ]]] Combination Lowbits Tests: Combination Highbits Tests Combination Hi-Lo Tests: Combination 0x8000000 Tests: Combination 0x0000001 Tests: Combination 0x800000000000000 Tests: Combination 0x000000000000001 Tests: Combination 16-bytes [0-1] Tests: Combination 16-bytes [0-last] Tests: Combination 32-bytes [0-1] Tests: Combination 32-bytes [0-last] Tests: Combination 64-bytes [0-1] Tests: Combination 64-bytes [0-last] Tests: Combination 128-bytes [0-1] Tests: Combination 128-bytes [0-last] Tests: [[[ Keyset 'Window' Tests ]]] Keyset 'Window' - 32-bit key, 25-bit window - 32 tests, 33554432 keys per test [[[ Keyset 'Cyclic' Tests ]]] Keyset 'Cyclic' - 8 cycles of 8 bytes - 1000000 keys Keyset 'Cyclic' - 8 cycles of 9 bytes - 1000000 keys Keyset 'Cyclic' - 8 cycles of 10 bytes - 1000000 keys Keyset 'Cyclic' - 8 cycles of 11 bytes - 1000000 keys Keyset 'Cyclic' - 8 cycles of 12 bytes - 1000000 keys Keyset 'Cyclic' - 8 cycles of 16 bytes - 1000000 keys [[[ Keyset 'TwoBytes' Tests ]]] Keyset 'TwoBytes' - up-to-4-byte keys, 652545 total keys Keyset 'TwoBytes' - up-to-8-byte keys, 5471025 total keys Keyset 'TwoBytes' - up-to-12-byte keys, 18616785 total keys Keyset 'TwoBytes' - up-to-16-byte keys, 44251425 total keys Keyset 'TwoBytes' - up-to-20-byte keys, 86536545 total keys [[[ Keyset 'Text' Tests ]]] Keyset 'Text' - keys of form "FooXXXXBar" - 14776336 keys Keyset 'Text' - keys of form "FooBarXXXX" - 14776336 keys Keyset 'Text' - keys of form "XXXXFooBar" - 14776336 keys Keyset 'Words' - 4000000 random keys of len 6-16 from alnum charset Keyset 'Words' - 4000000 random keys of len 6-16 from password charset Keyset 'Words' - 104334 dict words [[[ Keyset 'Zeroes' Tests ]]] Keyset 'Zeroes' - 204800 keys [[[ Keyset 'Seed' Tests ]]] Keyset 'Seed' - 5000000 keys [[[ Keyset 'PerlinNoise' Tests ]]] Testing 16777216 coordinates (L2) : Testing AV variant, 128 count with 4 spacing, 4-12: [[[ Diff 'Differential' Tests ]]] Testing 8303632 up-to-5-bit differentials in 64-bit keys -> 64 bit hashes. Testing 11017632 up-to-4-bit differentials in 128-bit keys -> 64 bit hashes. Testing 2796416 up-to-3-bit differentials in 256-bit keys -> 64 bit hashes. [[[ DiffDist 'Differential Distribution' Tests ]]] Testing bit 0 Testing bit 1 Testing bit 2 Testing bit 3 Testing bit 4 Testing bit 5 Testing bit 6 Testing bit 7 Testing bit 8 Testing bit 9 Testing bit 10 Testing bit 11 Testing bit 12 Testing bit 13 Testing bit 14 Testing bit 15 Testing bit 16 Testing bit 17 Testing bit 18 Testing bit 19 Testing bit 20 Testing bit 21 Testing bit 22 Testing bit 23 Testing bit 24 Testing bit 25 Testing bit 26 Testing bit 27 Testing bit 28 Testing bit 29 Testing bit 30 Testing bit 31 Testing bit 32 Testing bit 33 Testing bit 34 Testing bit 35 Testing bit 36 Testing bit 37 Testing bit 38 Testing bit 39 Testing bit 40 Testing bit 41 Testing bit 42 Testing bit 43 Testing bit 44 Testing bit 45 Testing bit 46 Testing bit 47 Testing bit 48 Testing bit 49 Testing bit 50 Testing bit 51 Testing bit 52 Testing bit 53 Testing bit 54 Testing bit 55 Testing bit 56 Testing bit 57 Testing bit 58 Testing bit 59 Testing bit 60 Testing bit 61 Testing bit 62 Testing bit 63 [[[ MomentChi2 Tests ]]] Analyze hashes produced from a serie of linearly increasing numbers of 32-bit, using a step of 2 ... Derivative stats (transition from 2 consecutive values) : Great [[[ Prng Tests ]]] Generating 33554432 random numbers : [[[ BadSeeds Tests ]]] Testing 3 internal secrets: Input vcode 0x00000001, Output vcode 0x00000001, Result vcode 0x00000001
|
Thanks @wangyi-fudan - will take a look! |
Great. Just a minor and rare problem, but easy to fix. I"ll update it. |
I didn't notice the --extra BadSeeds test. Now a newer version completely solved the BadSeed problem. The testing is running a long time without bad seed report, somewhat too long to finish |
You need a better machine with more threads :) my ryzen 7 runs it in a few minutes |
Dear rurban and the community:
Thank you for your discovery of BadSeeds and PerlinNoiseAV problems.
I identify that the problem due to unprotected seed.
With one additional MUM to protect the seed, all bugs are solved.
Cheers!
Yi Wang
The text was updated successfully, but these errors were encountered: