-
-
Notifications
You must be signed in to change notification settings - Fork 178
/
sha1ni.txt
1923 lines (1749 loc) · 133 KB
/
sha1ni.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-------------------------------------------------------------------------------
--- Testing sha1ni "SHA1_NI (amd64 HW SHA ext)" POOR
[[[ Sanity Tests ]]]
Verification value 0xF0EC15B1 ....... PASS
Running sanity check 1 . 0: 0x3F == 0x3F FAIL !!!!!
Running AppendedZeroesTest . FAIL !!!!!
[[[ Speed Tests ]]]
Bulk speed test - 262144-byte keys
Alignment 7 - 0.706 bytes/cycle - 2019.96 MiB/sec @ 3 ghz
Alignment 6 - 0.706 bytes/cycle - 2019.96 MiB/sec @ 3 ghz
Alignment 5 - 0.706 bytes/cycle - 2019.96 MiB/sec @ 3 ghz
Alignment 4 - 0.706 bytes/cycle - 2019.96 MiB/sec @ 3 ghz
Alignment 3 - 0.706 bytes/cycle - 2019.96 MiB/sec @ 3 ghz
Alignment 2 - 0.706 bytes/cycle - 2019.96 MiB/sec @ 3 ghz
Alignment 1 - 0.706 bytes/cycle - 2019.96 MiB/sec @ 3 ghz
Alignment 0 - 0.706 bytes/cycle - 2019.96 MiB/sec @ 3 ghz
Average - 0.706 bytes/cycle - 2019.96 MiB/sec @ 3 ghz
Small key speed test - 1-byte keys - 129.00 cycles/hash
Small key speed test - 2-byte keys - 129.00 cycles/hash
Small key speed test - 3-byte keys - 129.00 cycles/hash
Small key speed test - 4-byte keys - 129.00 cycles/hash
Small key speed test - 5-byte keys - 129.00 cycles/hash
Small key speed test - 6-byte keys - 129.00 cycles/hash
Small key speed test - 7-byte keys - 130.00 cycles/hash
Small key speed test - 8-byte keys - 136.00 cycles/hash
Small key speed test - 9-byte keys - 137.00 cycles/hash
Small key speed test - 10-byte keys - 137.00 cycles/hash
Small key speed test - 11-byte keys - 137.00 cycles/hash
Small key speed test - 12-byte keys - 137.00 cycles/hash
Small key speed test - 13-byte keys - 137.00 cycles/hash
Small key speed test - 14-byte keys - 137.00 cycles/hash
Small key speed test - 15-byte keys - 141.00 cycles/hash
Small key speed test - 16-byte keys - 136.00 cycles/hash
Small key speed test - 17-byte keys - 139.00 cycles/hash
Small key speed test - 18-byte keys - 139.00 cycles/hash
Small key speed test - 19-byte keys - 139.00 cycles/hash
Small key speed test - 20-byte keys - 136.00 cycles/hash
Small key speed test - 21-byte keys - 139.00 cycles/hash
Small key speed test - 22-byte keys - 140.00 cycles/hash
Small key speed test - 23-byte keys - 139.00 cycles/hash
Small key speed test - 24-byte keys - 136.00 cycles/hash
Small key speed test - 25-byte keys - 138.00 cycles/hash
Small key speed test - 26-byte keys - 138.00 cycles/hash
Small key speed test - 27-byte keys - 138.00 cycles/hash
Small key speed test - 28-byte keys - 136.00 cycles/hash
Small key speed test - 29-byte keys - 138.00 cycles/hash
Small key speed test - 30-byte keys - 138.00 cycles/hash
Small key speed test - 31-byte keys - 139.00 cycles/hash
Average 135.839 cycles/hash
[[[ 'Hashmap' Speed Tests ]]]
std::unordered_map
Init std HashMapTest: 846.348 cycles/op (479826 inserts, 1% deletions)
Running std HashMapTest: 722.337 cycles/op (1.8 stdv)
greg7mdp/parallel-hashmap
Init fast HashMapTest: 1010.667 cycles/op (479826 inserts, 1% deletions)
Running fast HashMapTest: 564.402 cycles/op (5.5 stdv) ....... PASS
[[[ Avalanche Tests ]]]
Testing 24-bit keys -> 160-bit hashes, 300000 reps worst bias is 0.650667%
Testing 32-bit keys -> 160-bit hashes, 300000 reps worst bias is 0.727333%
Testing 40-bit keys -> 160-bit hashes, 300000 reps worst bias is 0.694667%
Testing 48-bit keys -> 160-bit hashes, 300000 reps worst bias is 0.844000%
Testing 56-bit keys -> 160-bit hashes, 300000 reps worst bias is 0.824000%
Testing 64-bit keys -> 160-bit hashes, 300000 reps worst bias is 0.710000%
Testing 72-bit keys -> 160-bit hashes, 300000 reps worst bias is 0.770667%
Testing 80-bit keys -> 160-bit hashes, 300000 reps worst bias is 0.708000%
Testing 96-bit keys -> 160-bit hashes, 300000 reps worst bias is 0.733333%
Testing 112-bit keys -> 160-bit hashes, 300000 reps worst bias is 0.754000%
Testing 128-bit keys -> 160-bit hashes, 300000 reps worst bias is 0.697333%
Testing 160-bit keys -> 160-bit hashes, 300000 reps worst bias is 0.755333%
[[[ Keyset 'Sparse' Tests ]]]
Keyset 'Sparse' - 16-bit keys with up to 9 bits set - 50643 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 0.3, actual 0 (0.00x)
Testing collisions (high 19-25 bits) - Worst is 22 bits: 319/305 (1.04x)
Testing collisions (high 12-bit) - Expected 46547.0, actual 46547 (1.00x)
Testing collisions (high 8-bit) - Expected 50387.0, actual 50387 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 0.3, actual 0 (0.00x)
Testing collisions (low 19-25 bits) - Worst is 22 bits: 318/305 (1.04x)
Testing collisions (low 12-bit) - Expected 46547.0, actual 46547 (1.00x)
Testing collisions (low 8-bit) - Expected 50387.0, actual 50387 (1.00x)
Testing distribution - Worst bias is the 13-bit window at bit 3 - 0.711%
Keyset 'Sparse' - 24-bit keys with up to 8 bits set - 1271626 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 188.2, actual 196 (1.04x) (8)
Testing collisions (high 24-35 bits) - Worst is 35 bits: 32/23 (1.36x)
Testing collisions (high 12-bit) - Expected 1267530.0, actual 1267530 (1.00x)
Testing collisions (high 8-bit) - Expected 1271370.0, actual 1271370 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 188.2, actual 207 (1.10x) (19)
Testing collisions (low 24-35 bits) - Worst is 32 bits: 207/188 (1.10x)
Testing collisions (low 12-bit) - Expected 1267530.0, actual 1267530 (1.00x)
Testing collisions (low 8-bit) - Expected 1271370.0, actual 1271370 (1.00x)
Testing distribution - Worst bias is the 17-bit window at bit 140 - 0.122%
Keyset 'Sparse' - 32-bit keys with up to 7 bits set - 4514873 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 2373.0, actual 2349 (0.99x) (-24)
Testing collisions (high 25-38 bits) - Worst is 37 bits: 83/74 (1.12x)
Testing collisions (high 12-bit) - Expected 4510777.0, actual 4510777 (1.00x)
Testing collisions (high 8-bit) - Expected 4514617.0, actual 4514617 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 2373.0, actual 2368 (1.00x) (-5)
Testing collisions (low 25-38 bits) - Worst is 34 bits: 623/593 (1.05x)
Testing collisions (low 12-bit) - Expected 4510777.0, actual 4510777 (1.00x)
Testing collisions (low 8-bit) - Expected 4514617.0, actual 4514617 (1.00x)
Testing distribution - Worst bias is the 19-bit window at bit 33 - 0.050%
Keyset 'Sparse' - 40-bit keys with up to 6 bits set - 4598479 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 2461.7, actual 2410 (0.98x)
Testing collisions (high 25-38 bits) - Worst is 37 bits: 81/76 (1.05x)
Testing collisions (high 12-bit) - Expected 4594383.0, actual 4594383 (1.00x)
Testing collisions (high 8-bit) - Expected 4598223.0, actual 4598223 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 2461.7, actual 2524 (1.03x) (63)
Testing collisions (low 25-38 bits) - Worst is 38 bits: 45/38 (1.17x)
Testing collisions (low 12-bit) - Expected 4594383.0, actual 4594383 (1.00x)
Testing collisions (low 8-bit) - Expected 4598223.0, actual 4598223 (1.00x)
Testing distribution - Worst bias is the 19-bit window at bit 26 - 0.047%
Keyset 'Sparse' - 48-bit keys with up to 6 bits set - 14196869 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 23463.6, actual 23407 (1.00x) (-56)
Testing collisions (high 27-42 bits) - Worst is 40 bits: 99/91 (1.08x)
Testing collisions (high 12-bit) - Expected 14192773.0, actual 14192773 (1.00x)
Testing collisions (high 8-bit) - Expected 14196613.0, actual 14196613 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 23463.6, actual 23686 (1.01x) (223)
Testing collisions (low 27-42 bits) - Worst is 41 bits: 51/45 (1.11x)
Testing collisions (low 12-bit) - Expected 14192773.0, actual 14192773 (1.00x)
Testing collisions (low 8-bit) - Expected 14196613.0, actual 14196613 (1.00x)
Testing distribution - Worst bias is the 20-bit window at bit 34 - 0.024%
Keyset 'Sparse' - 56-bit keys with up to 5 bits set - 4216423 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 2069.7, actual 2049 (0.99x) (-20)
Testing collisions (high 25-38 bits) - Worst is 37 bits: 70/64 (1.08x)
Testing collisions (high 12-bit) - Expected 4212327.0, actual 4212327 (1.00x)
Testing collisions (high 8-bit) - Expected 4216167.0, actual 4216167 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 2069.7, actual 2103 (1.02x) (34)
Testing collisions (low 25-38 bits) - Worst is 35 bits: 280/258 (1.08x)
Testing collisions (low 12-bit) - Expected 4212327.0, actual 4212327 (1.00x)
Testing collisions (low 8-bit) - Expected 4216167.0, actual 4216167 (1.00x)
Testing distribution - Worst bias is the 19-bit window at bit 92 - 0.065%
Keyset 'Sparse' - 64-bit keys with up to 5 bits set - 8303633 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 8026.9, actual 8102 (1.01x) (76)
Testing collisions (high 26-40 bits) - Worst is 32 bits: 8102/8026 (1.01x)
Testing collisions (high 12-bit) - Expected 8299537.0, actual 8299537 (1.00x)
Testing collisions (high 8-bit) - Expected 8303377.0, actual 8303377 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 8026.9, actual 8021 (1.00x) (-5)
Testing collisions (low 26-40 bits) - Worst is 33 bits: 4054/4013 (1.01x)
Testing collisions (low 12-bit) - Expected 8299537.0, actual 8299537 (1.00x)
Testing collisions (low 8-bit) - Expected 8303377.0, actual 8303377 (1.00x)
Testing distribution - Worst bias is the 20-bit window at bit 91 - 0.047%
Keyset 'Sparse' - 72-bit keys with up to 5 bits set - 15082603 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 26482.7, actual 26607 (1.00x) (125)
Testing collisions (high 27-42 bits) - Worst is 35 bits: 3375/3310 (1.02x)
Testing collisions (high 12-bit) - Expected 15078507.0, actual 15078507 (1.00x)
Testing collisions (high 8-bit) - Expected 15082347.0, actual 15082347 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 26482.7, actual 26531 (1.00x) (49)
Testing collisions (low 27-42 bits) - Worst is 32 bits: 26531/26482 (1.00x)
Testing collisions (low 12-bit) - Expected 15078507.0, actual 15078507 (1.00x)
Testing collisions (low 8-bit) - Expected 15082347.0, actual 15082347 (1.00x)
Testing distribution - Worst bias is the 20-bit window at bit 109 - 0.023%
Keyset 'Sparse' - 96-bit keys with up to 4 bits set - 3469497 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 1401.3, actual 1392 (0.99x) (-9)
Testing collisions (high 25-38 bits) - Worst is 37 bits: 46/43 (1.05x)
Testing collisions (high 12-bit) - Expected 3465401.0, actual 3465401 (1.00x)
Testing collisions (high 8-bit) - Expected 3469241.0, actual 3469241 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 1401.3, actual 1392 (0.99x) (-9)
Testing collisions (low 25-38 bits) - Worst is 35 bits: 191/175 (1.09x)
Testing collisions (low 12-bit) - Expected 3465401.0, actual 3465401 (1.00x)
Testing collisions (low 8-bit) - Expected 3469241.0, actual 3469241 (1.00x)
Testing distribution - Worst bias is the 19-bit window at bit 62 - 0.081%
Keyset 'Sparse' - 160-bit keys with up to 4 bits set - 26977161 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 84723.3, actual 83686 (0.99x) (-1037)
Testing collisions (high 28-44 bits) - Worst is 42 bits: 95/82 (1.15x)
Testing collisions (high 12-bit) - Expected 26973065.0, actual 26973065 (1.00x)
Testing collisions (high 8-bit) - Expected 26976905.0, actual 26976905 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 84723.3, actual 84525 (1.00x) (-198)
Testing collisions (low 28-44 bits) - Worst is 40 bits: 350/330 (1.06x)
Testing collisions (low 12-bit) - Expected 26973065.0, actual 26973065 (1.00x)
Testing collisions (low 8-bit) - Expected 26976905.0, actual 26976905 (1.00x)
Testing distribution - Worst bias is the 20-bit window at bit 108 - 0.016%
Keyset 'Sparse' - 256-bit keys with up to 3 bits set - 2796417 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 910.4, actual 917 (1.01x) (7)
Testing collisions (high 25-37 bits) - Worst is 31 bits: 1858/1820 (1.02x)
Testing collisions (high 12-bit) - Expected 2792321.0, actual 2792321 (1.00x)
Testing collisions (high 8-bit) - Expected 2796161.0, actual 2796161 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 910.4, actual 928 (1.02x) (18)
Testing collisions (low 25-37 bits) - Worst is 37 bits: 37/28 (1.30x)
Testing collisions (low 12-bit) - Expected 2792321.0, actual 2792321 (1.00x)
Testing collisions (low 8-bit) - Expected 2796161.0, actual 2796161 (1.00x)
Testing distribution - Worst bias is the 19-bit window at bit 90 - 0.074%
[[[ Keyset 'Permutation' Tests ]]]
Combination Lowbits Tests:
Keyset 'Combination' - up to 7 blocks from a set of 8 - 2396744 keys
Testing collisions (160-bit) - Expected 0.0, actual 299592 (152446127832705112268189319902225263230976.00x) (299592) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 299592 (35494130065828820752955349139456.00x) (299592) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 299592 (1924140646392.73x) (299592) !!!!!
Testing collisions (high 32-bit) - Expected 668.7, actual 300140 (448.82x) (299472) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 299605/20 (14336.59x) !!!!!
Testing collisions (high 12-bit) - Expected 2392648.0, actual 2392648 (1.00x)
Testing collisions (high 8-bit) - Expected 2396488.0, actual 2396488 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 299592 (35494130065828820752955349139456.00x) (299592) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 299592 (1924140646392.73x) (299592) !!!!!
Testing collisions (low 32-bit) - Expected 668.7, actual 300128 (448.80x) (299460) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 299606/20 (14336.63x) !!!!!
Testing collisions (low 12-bit) - Expected 2392648.0, actual 2392648 (1.00x)
Testing collisions (low 8-bit) - Expected 2396488.0, actual 2396488 (1.00x)
Testing distribution - Worst bias is the 18-bit window at bit 86 - 3.134% !!!!!
*********FAIL*********
Combination Highbits Tests
Keyset 'Combination' - up to 7 blocks from a set of 8 - 2396744 keys
Testing collisions (160-bit) - Expected 0.0, actual 299592 (152446127832705112268189319902225263230976.00x) (299592) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 299592 (35494130065828820752955349139456.00x) (299592) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 299592 (1924140646392.73x) (299592) !!!!!
Testing collisions (high 32-bit) - Expected 668.7, actual 300100 (448.76x) (299432) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 299607/20 (14336.68x) !!!!!
Testing collisions (high 12-bit) - Expected 2392648.0, actual 2392648 (1.00x)
Testing collisions (high 8-bit) - Expected 2396488.0, actual 2396488 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 299592 (35494130065828820752955349139456.00x) (299592) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 299592 (1924140646392.73x) (299592) !!!!!
Testing collisions (low 32-bit) - Expected 668.7, actual 300149 (448.83x) (299481) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 299608/20 (14336.73x) !!!!!
Testing collisions (low 12-bit) - Expected 2392648.0, actual 2392648 (1.00x)
Testing collisions (low 8-bit) - Expected 2396488.0, actual 2396488 (1.00x)
Testing distribution - Worst bias is the 18-bit window at bit 1 - 3.141% !!!!!
*********FAIL*********
Combination Hi-Lo Tests:
Keyset 'Combination' - up to 6 blocks from a set of 15 - 12204240 keys
Testing collisions (160-bit) - Expected 0.0, actual 813615 (15967127935650878581487689500517627592704.00x) (813615) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 813615 (3717636674561276701625364250624.00x) (813615) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 813615 (201533487953.56x) (813615) !!!!!
Testing collisions (high 32-bit) - Expected 17339.3, actual 828776 (47.80x) (811437) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 813646/33 (24025.58x) !!!!!
Testing collisions (high 12-bit) - Expected 12200144.0, actual 12200144 (1.00x)
Testing collisions (high 8-bit) - Expected 12203984.0, actual 12203984 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 813615 (3717636674561276701625364250624.00x) (813615) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 813615 (201533487953.56x) (813615) !!!!!
Testing collisions (low 32-bit) - Expected 17339.3, actual 828626 (47.79x) (811287) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 813645/33 (24025.55x) !!!!!
Testing collisions (low 12-bit) - Expected 12200144.0, actual 12200144 (1.00x)
Testing collisions (low 8-bit) - Expected 12203984.0, actual 12203984 (1.00x)
Testing distribution - Worst bias is the 20-bit window at bit 121 - 1.254% !!!!!
*********FAIL*********
Combination 0x8000000 Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (160-bit) - Expected 0.0, actual 65534 (2787561247492554234017212795722790015598592.00x) (65534) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 65534 (649029679478275178469999878602752.00x) (65534) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 65534 (35183969424895.83x) (65534) !!!!!
Testing collisions (high 32-bit) - Expected 8.0, actual 65540 (8192.66x) (65533) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 65558/31 (2048.73x) !!!!!
Testing collisions (high 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (high 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 65534 (649029679478275178469999878602752.00x) (65534) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 65534 (35183969424895.83x) (65534) !!!!!
Testing collisions (low 32-bit) - Expected 8.0, actual 65536 (8192.16x) (65529) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 65548/31 (2048.41x) !!!!!
Testing collisions (low 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (low 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing distribution - Worst bias is the 15-bit window at bit 24 - 11.515% !!!!!
*********FAIL*********
Combination 0x0000001 Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (160-bit) - Expected 0.0, actual 65534 (2787561247492554234017212795722790015598592.00x) (65534) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 65534 (649029679478275178469999878602752.00x) (65534) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 65534 (35183969424895.83x) (65534) !!!!!
Testing collisions (high 32-bit) - Expected 8.0, actual 65536 (8192.16x) (65529) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 65548/31 (2048.41x) !!!!!
Testing collisions (high 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (high 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 65534 (649029679478275178469999878602752.00x) (65534) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 65534 (35183969424895.83x) (65534) !!!!!
Testing collisions (low 32-bit) - Expected 8.0, actual 65539 (8192.53x) (65532) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 65551/31 (2048.51x) !!!!!
Testing collisions (low 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (low 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing distribution - Worst bias is the 15-bit window at bit 83 - 11.500% !!!!!
*********FAIL*********
Combination 0x800000000000000 Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (160-bit) - Expected 0.0, actual 65278 (2776672004056199191617737622236565593915392.00x) (65278) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 65278 (646494329920084958807038520983552.00x) (65278) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 65278 (35046527849945.83x) (65278) !!!!!
Testing collisions (high 32-bit) - Expected 8.0, actual 65286 (8160.91x) (65279) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 65294/31 (2040.48x) !!!!!
Testing collisions (high 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (high 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 65278 (646494329920084958807038520983552.00x) (65278) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 65278 (35046527849945.83x) (65278) !!!!!
Testing collisions (low 32-bit) - Expected 8.0, actual 65281 (8160.28x) (65274) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 65296/31 (2040.54x) !!!!!
Testing collisions (low 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (low 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing distribution - Worst bias is the 15-bit window at bit 63 - 11.137% !!!!!
*********FAIL*********
Combination 0x000000000000001 Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (160-bit) - Expected 0.0, actual 65278 (2776672004056199191617737622236565593915392.00x) (65278) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 65278 (646494329920084958807038520983552.00x) (65278) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 65278 (35046527849945.83x) (65278) !!!!!
Testing collisions (high 32-bit) - Expected 8.0, actual 65282 (8160.41x) (65275) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 65295/31 (2040.51x) !!!!!
Testing collisions (high 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (high 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 65278 (646494329920084958807038520983552.00x) (65278) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 65278 (35046527849945.83x) (65278) !!!!!
Testing collisions (low 32-bit) - Expected 8.0, actual 65286 (8160.91x) (65279) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 65306/31 (2040.85x) !!!!!
Testing collisions (low 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (low 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing distribution - Worst bias is the 15-bit window at bit 87 - 11.165% !!!!!
*********FAIL*********
Combination 16-bytes [0-1] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (160-bit) - Expected 0.0, actual 61166 (2601763531359745704106148005423948371066880.00x) (61166) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 61166 (605770277641654411355533638369280.00x) (61166) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 61166 (32838872552311.45x) (61166) !!!!!
Testing collisions (high 32-bit) - Expected 8.0, actual 61172 (7646.65x) (61165) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 61189/31 (1912.19x) !!!!!
Testing collisions (high 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (high 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 61166 (605770277641654411355533638369280.00x) (61166) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 61166 (32838872552311.45x) (61166) !!!!!
Testing collisions (low 32-bit) - Expected 8.0, actual 61168 (7646.15x) (61161) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 61179/31 (1911.88x) !!!!!
Testing collisions (low 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (low 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing distribution - Worst bias is the 15-bit window at bit 20 - 8.720% !!!!!
*********FAIL*********
Combination 16-bytes [0-last] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (160-bit) - Expected 0.0, actual 61166 (2601763531359745704106148005423948371066880.00x) (61166) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 61166 (605770277641654411355533638369280.00x) (61166) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 61166 (32838872552311.45x) (61166) !!!!!
Testing collisions (high 32-bit) - Expected 8.0, actual 61170 (7646.40x) (61163) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 61189/31 (1912.19x) !!!!!
Testing collisions (high 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (high 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 61166 (605770277641654411355533638369280.00x) (61166) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 61166 (32838872552311.45x) (61166) !!!!!
Testing collisions (low 32-bit) - Expected 8.0, actual 61171 (7646.52x) (61164) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 61184/31 (1912.04x) !!!!!
Testing collisions (low 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (low 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing distribution - Worst bias is the 15-bit window at bit 29 - 8.789% !!!!!
*********FAIL*********
Combination 32-bytes [0-1] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (160-bit) - Expected 0.0, actual 43690 (1858402522399818536924397044642859536351232.00x) (43690) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 43690 (432693055458324620715434906222592.00x) (43690) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 43690 (23456337537365.32x) (43690) !!!!!
Testing collisions (high 32-bit) - Expected 8.0, actual 43694 (5461.85x) (43687) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 43718/31 (1366.21x) !!!!!
Testing collisions (high 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (high 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 43690 (432693055458324620715434906222592.00x) (43690) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 43690 (23456337537365.32x) (43690) !!!!!
Testing collisions (low 32-bit) - Expected 8.0, actual 43698 (5462.35x) (43691) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 43718/31 (1366.21x) !!!!!
Testing collisions (low 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (low 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing distribution - Worst bias is the 15-bit window at bit 105 - 4.283% !!!!!
*********FAIL*********
Combination 32-bytes [0-last] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (160-bit) - Expected 0.0, actual 43690 (1858402522399818536924397044642859536351232.00x) (43690) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 43690 (432693055458324620715434906222592.00x) (43690) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 43690 (23456337537365.32x) (43690) !!!!!
Testing collisions (high 32-bit) - Expected 8.0, actual 43699 (5462.48x) (43692) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 43711/31 (1365.99x) !!!!!
Testing collisions (high 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (high 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 43690 (432693055458324620715434906222592.00x) (43690) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 43690 (23456337537365.32x) (43690) !!!!!
Testing collisions (low 32-bit) - Expected 8.0, actual 43696 (5462.10x) (43689) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 43707/31 (1365.87x) !!!!!
Testing collisions (low 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (low 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing distribution - Worst bias is the 15-bit window at bit 108 - 4.274% !!!!!
*********FAIL*********
Combination 64-bytes [0-1] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 8.0, actual 5 (0.63x)
Testing collisions (high 21-30 bits) - Worst is 23 bits: 4092/4095 (1.00x)
Testing collisions (high 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (high 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 8.0, actual 4 (0.50x)
Testing collisions (low 21-30 bits) - Worst is 30 bits: 43/31 (1.34x)
Testing collisions (low 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (low 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing distribution - Worst bias is the 15-bit window at bit 130 - 0.351%
Combination 64-bytes [0-last] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 8.0, actual 4 (0.50x)
Testing collisions (high 21-30 bits) - Worst is 28 bits: 134/127 (1.05x)
Testing collisions (high 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (high 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 8.0, actual 7 (0.88x)
Testing collisions (low 21-30 bits) - Worst is 26 bits: 559/511 (1.09x)
Testing collisions (low 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (low 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing distribution - Worst bias is the 15-bit window at bit 141 - 0.280%
Combination 128-bytes [0-1] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 8.0, actual 7 (0.88x)
Testing collisions (high 21-30 bits) - Worst is 29 bits: 73/63 (1.14x)
Testing collisions (high 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (high 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 8.0, actual 13 (1.63x) (6)
Testing collisions (low 21-30 bits) - Worst is 30 bits: 39/31 (1.22x)
Testing collisions (low 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (low 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing distribution - Worst bias is the 15-bit window at bit 48 - 0.247%
Combination 128-bytes [0-last] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 8.0, actual 9 (1.13x) (2)
Testing collisions (high 21-30 bits) - Worst is 30 bits: 32/31 (1.00x)
Testing collisions (high 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (high 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 8.0, actual 7 (0.88x)
Testing collisions (low 21-30 bits) - Worst is 26 bits: 531/511 (1.04x)
Testing collisions (low 12-bit) - Expected 258046.0, actual 258046 (1.00x)
Testing collisions (low 8-bit) - Expected 261886.0, actual 261886 (1.00x)
Testing distribution - Worst bias is the 15-bit window at bit 14 - 0.291%
[[[ Keyset 'Window' Tests ]]]
Keyset 'Window' - 32-bit key, 25-bit window - 32 tests, 33554432 keys per test
Window at 0 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 1 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 2 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 3 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 4 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 5 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 6 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 7 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 8 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 9 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 10 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 11 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 12 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 13 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 14 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 15 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 16 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 17 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 18 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 19 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 20 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 21 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 22 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 23 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 24 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 25 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 26 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 27 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 28 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 29 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 30 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 31 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Window at 32 - Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
[[[ Keyset 'Cyclic' Tests ]]]
Keyset 'Cyclic' - 8 cycles of 20 bytes - 1000000 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 116.4, actual 98 (0.84x)
Testing collisions (high 23-34 bits) - Worst is 27 bits: 3770/3725 (1.01x)
Testing collisions (high 12-bit) - Expected 995904.0, actual 995904 (1.00x)
Testing collisions (high 8-bit) - Expected 999744.0, actual 999744 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 116.4, actual 116 (1.00x)
Testing collisions (low 23-34 bits) - Worst is 33 bits: 60/58 (1.03x)
Testing collisions (low 12-bit) - Expected 995904.0, actual 995904 (1.00x)
Testing collisions (low 8-bit) - Expected 999744.0, actual 999744 (1.00x)
Testing distribution - Worst bias is the 17-bit window at bit 23 - 0.173%
Keyset 'Cyclic' - 8 cycles of 21 bytes - 1000000 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 116.4, actual 119 (1.02x) (3)
Testing collisions (high 23-34 bits) - Worst is 33 bits: 72/58 (1.24x)
Testing collisions (high 12-bit) - Expected 995904.0, actual 995904 (1.00x)
Testing collisions (high 8-bit) - Expected 999744.0, actual 999744 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 116.4, actual 115 (0.99x) (-1)
Testing collisions (low 23-34 bits) - Worst is 34 bits: 38/29 (1.31x)
Testing collisions (low 12-bit) - Expected 995904.0, actual 995904 (1.00x)
Testing collisions (low 8-bit) - Expected 999744.0, actual 999744 (1.00x)
Testing distribution - Worst bias is the 17-bit window at bit 6 - 0.136%
Keyset 'Cyclic' - 8 cycles of 22 bytes - 1000000 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 116.4, actual 125 (1.07x) (9)
Testing collisions (high 23-34 bits) - Worst is 33 bits: 68/58 (1.17x)
Testing collisions (high 12-bit) - Expected 995904.0, actual 995904 (1.00x)
Testing collisions (high 8-bit) - Expected 999744.0, actual 999744 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 116.4, actual 118 (1.01x) (2)
Testing collisions (low 23-34 bits) - Worst is 32 bits: 118/116 (1.01x)
Testing collisions (low 12-bit) - Expected 995904.0, actual 995904 (1.00x)
Testing collisions (low 8-bit) - Expected 999744.0, actual 999744 (1.00x)
Testing distribution - Worst bias is the 17-bit window at bit 127 - 0.171%
Keyset 'Cyclic' - 8 cycles of 23 bytes - 1000000 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 116.4, actual 98 (0.84x)
Testing collisions (high 23-34 bits) - Worst is 27 bits: 3769/3725 (1.01x)
Testing collisions (high 12-bit) - Expected 995904.0, actual 995904 (1.00x)
Testing collisions (high 8-bit) - Expected 999744.0, actual 999744 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 116.4, actual 109 (0.94x)
Testing collisions (low 23-34 bits) - Worst is 31 bits: 255/232 (1.10x)
Testing collisions (low 12-bit) - Expected 995904.0, actual 995904 (1.00x)
Testing collisions (low 8-bit) - Expected 999744.0, actual 999744 (1.00x)
Testing distribution - Worst bias is the 17-bit window at bit 73 - 0.199%
Keyset 'Cyclic' - 8 cycles of 24 bytes - 1000000 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 116.4, actual 120 (1.03x) (4)
Testing collisions (high 23-34 bits) - Worst is 31 bits: 244/232 (1.05x)
Testing collisions (high 12-bit) - Expected 995904.0, actual 995904 (1.00x)
Testing collisions (high 8-bit) - Expected 999744.0, actual 999744 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 116.4, actual 117 (1.01x) (1)
Testing collisions (low 23-34 bits) - Worst is 30 bits: 491/465 (1.05x)
Testing collisions (low 12-bit) - Expected 995904.0, actual 995904 (1.00x)
Testing collisions (low 8-bit) - Expected 999744.0, actual 999744 (1.00x)
Testing distribution - Worst bias is the 17-bit window at bit 145 - 0.139%
Keyset 'Cyclic' - 8 cycles of 28 bytes - 1000000 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 116.4, actual 129 (1.11x) (13)
Testing collisions (high 23-34 bits) - Worst is 32 bits: 129/116 (1.11x)
Testing collisions (high 12-bit) - Expected 995904.0, actual 995904 (1.00x)
Testing collisions (high 8-bit) - Expected 999744.0, actual 999744 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 116.4, actual 130 (1.12x) (14)
Testing collisions (low 23-34 bits) - Worst is 34 bits: 45/29 (1.55x)
Testing collisions (low 12-bit) - Expected 995904.0, actual 995904 (1.00x)
Testing collisions (low 8-bit) - Expected 999744.0, actual 999744 (1.00x)
Testing distribution - Worst bias is the 17-bit window at bit 144 - 0.118%
[[[ Keyset 'TwoBytes' Tests ]]]
Keyset 'TwoBytes' - up-to-4-byte keys, 652545 total keys
Testing collisions (160-bit) - Expected 0.0, actual 261375 (1794209205732377004408012625777079368024064.00x) (261375) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 261375 (417746884220367531387138326134784.00x) (261375) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 261375 (22646103971038.65x) (261375) !!!!!
Testing collisions (high 32-bit) - Expected 49.6, actual 261384 (5272.89x) (261335) !!!!!
Testing collisions (high 23-33 bits) - Worst is 33 bits: 261379/24 (10545.58x) !!!!!
Testing collisions (high 12-bit) - Expected 648449.0, actual 648449 (1.00x)
Testing collisions (high 8-bit) - Expected 652289.0, actual 652289 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 261375 (417746884220367531387138326134784.00x) (261375) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 261375 (22646103971038.65x) (261375) !!!!!
Testing collisions (low 32-bit) - Expected 49.6, actual 261389 (5272.99x) (261340) !!!!!
Testing collisions (low 23-33 bits) - Worst is 33 bits: 261385/24 (10545.82x) !!!!!
Testing collisions (low 12-bit) - Expected 648449.0, actual 648449 (1.00x)
Testing collisions (low 8-bit) - Expected 652289.0, actual 652289 (1.00x)
Testing distribution - Worst bias is the 16-bit window at bit 125 - 9.367% !!!!!
Keyset 'TwoBytes' - up-to-8-byte keys, 5471025 total keys
Testing collisions (160-bit) - Expected 0.0, actual 3648285 (356271219429955899274691952953933856505856.00x) (3648285) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 3648285 (82950857335225655528412189556736.00x) (3648285) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 3648285 (4496774986619.34x) (3648285) !!!!!
Testing collisions (high 32-bit) - Expected 3484.6, actual 3648658 (1047.09x) (3645174) !!!!!
Testing collisions (high 26-39 bits) - Worst is 39 bits: 3648288/27 (134014.45x) !!!!!
Testing collisions (high 12-bit) - Expected 5466929.0, actual 5466929 (1.00x)
Testing collisions (high 8-bit) - Expected 5470769.0, actual 5470769 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 3648285 (82950857335225655528412189556736.00x) (3648285) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 3648285 (4496774986619.34x) (3648285) !!!!!
Testing collisions (low 32-bit) - Expected 3484.6, actual 3648661 (1047.09x) (3645177) !!!!!
Testing collisions (low 26-39 bits) - Worst is 39 bits: 3648290/27 (134014.52x) !!!!!
Testing collisions (low 12-bit) - Expected 5466929.0, actual 5466929 (1.00x)
Testing collisions (low 8-bit) - Expected 5470769.0, actual 5470769 (1.00x)
Testing distribution - Worst bias is the 20-bit window at bit 105 - 36.608% !!!!!
Keyset 'TwoBytes' - up-to-12-byte keys, 18616785 total keys
Testing collisions (160-bit) - Expected 0.0, actual 14322075 (120788587430794135129156120122692659576832.00x) (14322075) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 14322075 (28123284557553505322233801736192.00x) (14322075) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 14322075 (1524566310736.38x) (14322075) !!!!!
Testing collisions (high 32-bit) - Expected 40347.8, actual 14324244 (355.02x) (14283897) !!!!!
Testing collisions (high 27-42 bits) - Worst is 42 bits: 14322076/39 (363484.96x) !!!!!
Testing collisions (high 12-bit) - Expected 18612689.0, actual 18612689 (1.00x)
Testing collisions (high 8-bit) - Expected 18616529.0, actual 18616529 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 14322075 (28123284557553505322233801736192.00x) (14322075) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 14322075 (1524566310736.38x) (14322075) !!!!!
Testing collisions (low 32-bit) - Expected 40347.8, actual 14324216 (355.02x) (14283869) !!!!!
Testing collisions (low 27-42 bits) - Worst is 42 bits: 14322077/39 (363484.98x) !!!!!
Testing collisions (low 12-bit) - Expected 18612689.0, actual 18612689 (1.00x)
Testing collisions (low 8-bit) - Expected 18616529.0, actual 18616529 (1.00x)
Testing distribution - Worst bias is the 20-bit window at bit 110 - 22.040% !!!!!
*********FAIL*********
[[[ Keyset 'Text' Tests ]]]
Keyset 'Text' - keys of form "FooXXXXBar" - 14776336 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 25418.1, actual 25226 (0.99x) (-192)
Testing collisions (high 27-42 bits) - Worst is 42 bits: 27/24 (1.09x)
Testing collisions (high 12-bit) - Expected 14772240.0, actual 14772240 (1.00x)
Testing collisions (high 8-bit) - Expected 14776080.0, actual 14776080 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 25418.1, actual 25559 (1.01x) (141)
Testing collisions (low 27-42 bits) - Worst is 41 bits: 63/49 (1.27x)
Testing collisions (low 12-bit) - Expected 14772240.0, actual 14772240 (1.00x)
Testing collisions (low 8-bit) - Expected 14776080.0, actual 14776080 (1.00x)
Testing distribution - Worst bias is the 20-bit window at bit 29 - 0.028%
Keyset 'Text' - keys of form "FooBarXXXX" - 14776336 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 25418.1, actual 25183 (0.99x) (-235)
Testing collisions (high 27-42 bits) - Worst is 36 bits: 1629/1588 (1.03x)
Testing collisions (high 12-bit) - Expected 14772240.0, actual 14772240 (1.00x)
Testing collisions (high 8-bit) - Expected 14776080.0, actual 14776080 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 25418.1, actual 25455 (1.00x) (37)
Testing collisions (low 27-42 bits) - Worst is 37 bits: 835/794 (1.05x)
Testing collisions (low 12-bit) - Expected 14772240.0, actual 14772240 (1.00x)
Testing collisions (low 8-bit) - Expected 14776080.0, actual 14776080 (1.00x)
Testing distribution - Worst bias is the 20-bit window at bit 35 - 0.043%
Keyset 'Text' - keys of form "XXXXFooBar" - 14776336 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 25418.1, actual 25269 (0.99x) (-149)
Testing collisions (high 27-42 bits) - Worst is 41 bits: 56/49 (1.13x)
Testing collisions (high 12-bit) - Expected 14772240.0, actual 14772240 (1.00x)
Testing collisions (high 8-bit) - Expected 14776080.0, actual 14776080 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 25418.1, actual 25483 (1.00x) (65)
Testing collisions (low 27-42 bits) - Worst is 42 bits: 30/24 (1.21x)
Testing collisions (low 12-bit) - Expected 14772240.0, actual 14772240 (1.00x)
Testing collisions (low 8-bit) - Expected 14776080.0, actual 14776080 (1.00x)
Testing distribution - Worst bias is the 20-bit window at bit 99 - 0.016%
Keyset 'Words' - 4000000 random keys of len 6-16 from alnum charset
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 1862.6, actual 1905 (1.02x) (43)
Testing collisions (high 25-38 bits) - Worst is 33 bits: 967/931 (1.04x)
Testing collisions (high 12-bit) - Expected 3995904.0, actual 3995904 (1.00x)
Testing collisions (high 8-bit) - Expected 3999744.0, actual 3999744 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 1862.6, actual 1882 (1.01x) (20)
Testing collisions (low 25-38 bits) - Worst is 35 bits: 237/232 (1.02x)
Testing collisions (low 12-bit) - Expected 3995904.0, actual 3995904 (1.00x)
Testing collisions (low 8-bit) - Expected 3999744.0, actual 3999744 (1.00x)
Testing distribution - Worst bias is the 19-bit window at bit 43 - 0.063%
Keyset 'Words' - 4000000 random keys of len 6-16 from password charset
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 1862.6, actual 1851 (0.99x) (-11)
Testing collisions (high 25-38 bits) - Worst is 28 bits: 29794/29802 (1.00x)
Testing collisions (high 12-bit) - Expected 3995904.0, actual 3995904 (1.00x)
Testing collisions (high 8-bit) - Expected 3999744.0, actual 3999744 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 1862.6, actual 1869 (1.00x) (7)
Testing collisions (low 25-38 bits) - Worst is 35 bits: 256/232 (1.10x)
Testing collisions (low 12-bit) - Expected 3995904.0, actual 3995904 (1.00x)
Testing collisions (low 8-bit) - Expected 3999744.0, actual 3999744 (1.00x)
Testing distribution - Worst bias is the 19-bit window at bit 58 - 0.060%
Keyset 'Words' - 479826 dict words
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 26.8, actual 25 (0.93x)
Testing collisions (high 22-32 bits) - Worst is 28 bits: 430/428 (1.00x)
Testing collisions (high 12-bit) - Expected 475730.0, actual 475730 (1.00x)
Testing collisions (high 8-bit) - Expected 479570.0, actual 479570 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 26.8, actual 25 (0.93x)
Testing collisions (low 22-32 bits) - Worst is 25 bits: 3399/3430 (0.99x)
Testing collisions (low 12-bit) - Expected 475730.0, actual 475730 (1.00x)
Testing collisions (low 8-bit) - Expected 479570.0, actual 479570 (1.00x)
Testing distribution - Worst bias is the 16-bit window at bit 29 - 0.217%
[[[ Keyset 'Zeroes' Tests ]]]
Keyset 'Zeroes' - 204800 keys
Testing collisions (160-bit) - Expected 0.0, actual 201600 (14049538076334430817906362727193125245157376.00x) (201600) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 201600 (3271162993352494858649178111737856.00x) (201600) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 201600 (177330101197348.03x) (201600) !!!!!
Testing collisions (high 32-bit) - Expected 4.9, actual 201600 (41287.88x) (201596) !!!!!
Testing collisions (high 21-29 bits) - Worst is 29 bits: 201600/39 (5160.99x) !!!!!
Testing collisions (high 12-bit) - Expected 200704.0, actual 202610 (1.01x) (1906)
Testing collisions (high 8-bit) - Expected 204544.0, actual 204544 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 201600 (3271162993352494858649178111737856.00x) (201600) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 201600 (177330101197348.03x) (201600) !!!!!
Testing collisions (low 32-bit) - Expected 4.9, actual 201600 (41287.88x) (201596) !!!!!
Testing collisions (low 21-29 bits) - Worst is 29 bits: 201600/39 (5160.99x) !!!!!
Testing collisions (low 12-bit) - Expected 200704.0, actual 202580 (1.01x) (1876)
Testing collisions (low 8-bit) - Expected 204544.0, actual 204544 (1.00x)
Testing distribution - Worst bias is the 15-bit window at bit 153 - 91.132% !!!!!
*********FAIL*********
[[[ Keyset 'Seed' Tests ]]]
Keyset 'Seed' - 5000000 keys
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 2910.4, actual 2946 (1.01x) (36)
Testing collisions (high 26-39 bits) - Worst is 37 bits: 103/90 (1.13x)
Testing collisions (high 12-bit) - Expected 4995904.0, actual 4995904 (1.00x)
Testing collisions (high 8-bit) - Expected 4999744.0, actual 4999744 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 2910.4, actual 2910 (1.00x)
Testing collisions (low 26-39 bits) - Worst is 39 bits: 25/22 (1.10x)
Testing collisions (low 12-bit) - Expected 4995904.0, actual 4995904 (1.00x)
Testing collisions (low 8-bit) - Expected 4999744.0, actual 4999744 (1.00x)
Testing distribution - Worst bias is the 19-bit window at bit 16 - 0.048%
[[[ Keyset 'PerlinNoise' Tests ]]]
Testing 16777216 coordinates (L2) :
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 32768.0, actual 32712 (1.00x) (-55)
Testing collisions (high 27-42 bits) - Worst is 41 bits: 69/63 (1.08x)
Testing collisions (high 12-bit) - Expected 16773120.0, actual 16773120 (1.00x)
Testing collisions (high 8-bit) - Expected 16776960.0, actual 16776960 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 32768.0, actual 32623 (1.00x) (-144)
Testing collisions (low 27-42 bits) - Worst is 38 bits: 564/511 (1.10x)
Testing collisions (low 12-bit) - Expected 16773120.0, actual 16773120 (1.00x)
Testing collisions (low 8-bit) - Expected 16776960.0, actual 16776960 (1.00x)
Testing AV variant, 128 count with 4 spacing, 4-12:
Testing collisions (160-bit) - Expected 0.0, actual 1056132 (321906912407573799258976394266723190046720.00x) (1056132) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 1056132 (74949793612485239109717401272320.00x) (1056132) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 1056132 (4063036453099.83x) (1056132) !!!!!
Testing collisions (high 32-bit) - Expected 1116.4, actual 1056645 (946.46x) (1055529) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 1056147/34 (30272.41x) !!!!!
Testing collisions (high 12-bit) - Expected 3092672.0, actual 3092672 (1.00x)
Testing collisions (high 8-bit) - Expected 3096512.0, actual 3096512 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 1056132 (74949793612485239109717401272320.00x) (1056132) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 1056132 (4063036453099.83x) (1056132) !!!!!
Testing collisions (low 32-bit) - Expected 1116.4, actual 1056656 (946.47x) (1055540) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 1056147/34 (30272.41x) !!!!!
Testing collisions (low 12-bit) - Expected 3092672.0, actual 3092672 (1.00x)
Testing collisions (low 8-bit) - Expected 3096512.0, actual 3096512 (1.00x)
*********FAIL*********
[[[ Diff 'Differential' Tests ]]]
Testing 8303632 up-to-5-bit differentials in 64-bit keys -> 160 bit hashes.
100 reps, 830363200 total tests, expecting 0.00 random collisions..........
0 total collisions, of which 0 single collisions were ignored
Testing 11017632 up-to-4-bit differentials in 128-bit keys -> 160 bit hashes.
100 reps, 1101763200 total tests, expecting 0.00 random collisions..........
0 total collisions, of which 0 single collisions were ignored
Testing 2796416 up-to-3-bit differentials in 256-bit keys -> 160 bit hashes.
100 reps, 279641600 total tests, expecting 0.00 random collisions..........
0 total collisions, of which 0 single collisions were ignored
[[[ DiffDist 'Differential Distribution' Tests ]]]
Testing bit 0
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 512.0, actual 491 (0.96x)
Testing collisions (high 24-36 bits) - Worst is 36 bits: 34/31 (1.06x)
Testing collisions (high 12-bit) - Expected 2093056.0, actual 2093056 (1.00x)
Testing collisions (high 8-bit) - Expected 2096896.0, actual 2096896 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 512.0, actual 503 (0.98x) (-8)
Testing collisions (low 24-36 bits) - Worst is 36 bits: 36/31 (1.13x)
Testing collisions (low 12-bit) - Expected 2093056.0, actual 2093056 (1.00x)
Testing collisions (low 8-bit) - Expected 2096896.0, actual 2096896 (1.00x)
Testing bit 1
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 512.0, actual 544 (1.06x) (33)
Testing collisions (high 24-36 bits) - Worst is 36 bits: 36/31 (1.13x)
Testing collisions (high 12-bit) - Expected 2093056.0, actual 2093056 (1.00x)
Testing collisions (high 8-bit) - Expected 2096896.0, actual 2096896 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 512.0, actual 501 (0.98x)
Testing collisions (low 24-36 bits) - Worst is 31 bits: 1028/1023 (1.00x)
Testing collisions (low 12-bit) - Expected 2093056.0, actual 2093056 (1.00x)
Testing collisions (low 8-bit) - Expected 2096896.0, actual 2096896 (1.00x)
Testing bit 2
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 512.0, actual 491 (0.96x)
Testing collisions (high 24-36 bits) - Worst is 34 bits: 129/127 (1.01x)
Testing collisions (high 12-bit) - Expected 2093056.0, actual 2093056 (1.00x)
Testing collisions (high 8-bit) - Expected 2096896.0, actual 2096896 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 512.0, actual 461 (0.90x)
Testing collisions (low 24-36 bits) - Worst is 27 bits: 16400/16383 (1.00x)
Testing collisions (low 12-bit) - Expected 2093056.0, actual 2093056 (1.00x)
Testing collisions (low 8-bit) - Expected 2096896.0, actual 2096896 (1.00x)
Testing bit 3
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 512.0, actual 504 (0.98x) (-7)
Testing collisions (high 24-36 bits) - Worst is 27 bits: 16179/16383 (0.99x)
Testing collisions (high 12-bit) - Expected 2093056.0, actual 2093056 (1.00x)
Testing collisions (high 8-bit) - Expected 2096896.0, actual 2096896 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 512.0, actual 465 (0.91x)
Testing collisions (low 24-36 bits) - Worst is 36 bits: 33/31 (1.03x)
Testing collisions (low 12-bit) - Expected 2093056.0, actual 2093056 (1.00x)
Testing collisions (low 8-bit) - Expected 2096896.0, actual 2096896 (1.00x)
Testing bit 4
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 512.0, actual 526 (1.03x) (15)
Testing collisions (high 24-36 bits) - Worst is 31 bits: 1057/1023 (1.03x)
Testing collisions (high 12-bit) - Expected 2093056.0, actual 2093056 (1.00x)
Testing collisions (high 8-bit) - Expected 2096896.0, actual 2096896 (1.00x)
Testing collisions (low 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 32-bit) - Expected 512.0, actual 505 (0.99x) (-6)
Testing collisions (low 24-36 bits) - Worst is 31 bits: 1066/1023 (1.04x)
Testing collisions (low 12-bit) - Expected 2093056.0, actual 2093056 (1.00x)
Testing collisions (low 8-bit) - Expected 2096896.0, actual 2096896 (1.00x)
Testing bit 5
Testing collisions (160-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 128-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 64-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 32-bit) - Expected 512.0, actual 487 (0.95x)