-
-
Notifications
You must be signed in to change notification settings - Fork 178
/
sha2ni-256.txt
2378 lines (2203 loc) · 173 KB
/
sha2ni-256.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 sha2ni-256 "SHA2_NI-256 (amd64 HW SHA ext)" POOR
[[[ Sanity Tests ]]]
Verification value 0x01E45C6F ....... PASS
Running sanity check 1 . 0: 0x60 == 0x60 FAIL !!!!!
Running AppendedZeroesTest . FAIL !!!!!
[[[ Speed Tests ]]]
Bulk speed test - 262144-byte keys
Alignment 7 - 0.668 bytes/cycle - 1910.35 MiB/sec @ 3 ghz
Alignment 6 - 0.668 bytes/cycle - 1910.35 MiB/sec @ 3 ghz
Alignment 5 - 0.668 bytes/cycle - 1910.35 MiB/sec @ 3 ghz
Alignment 4 - 0.668 bytes/cycle - 1910.35 MiB/sec @ 3 ghz
Alignment 3 - 0.658 bytes/cycle - 1881.66 MiB/sec @ 3 ghz
Alignment 2 - 0.668 bytes/cycle - 1910.35 MiB/sec @ 3 ghz
Alignment 1 - 0.668 bytes/cycle - 1910.35 MiB/sec @ 3 ghz
Alignment 0 - 0.668 bytes/cycle - 1910.35 MiB/sec @ 3 ghz
Average - 0.666 bytes/cycle - 1906.77 MiB/sec @ 3 ghz
Small key speed test - 1-byte keys - 139.88 cycles/hash
Small key speed test - 2-byte keys - 138.97 cycles/hash
Small key speed test - 3-byte keys - 139.27 cycles/hash
Small key speed test - 4-byte keys - 138.77 cycles/hash
Small key speed test - 5-byte keys - 138.86 cycles/hash
Small key speed test - 6-byte keys - 139.27 cycles/hash
Small key speed test - 7-byte keys - 139.99 cycles/hash
Small key speed test - 8-byte keys - 146.66 cycles/hash
Small key speed test - 9-byte keys - 145.77 cycles/hash
Small key speed test - 10-byte keys - 145.76 cycles/hash
Small key speed test - 11-byte keys - 147.63 cycles/hash
Small key speed test - 12-byte keys - 146.47 cycles/hash
Small key speed test - 13-byte keys - 147.64 cycles/hash
Small key speed test - 14-byte keys - 147.50 cycles/hash
Small key speed test - 15-byte keys - 148.91 cycles/hash
Small key speed test - 16-byte keys - 142.21 cycles/hash
Small key speed test - 17-byte keys - 147.32 cycles/hash
Small key speed test - 18-byte keys - 147.52 cycles/hash
Small key speed test - 19-byte keys - 147.85 cycles/hash
Small key speed test - 20-byte keys - 144.43 cycles/hash
Small key speed test - 21-byte keys - 150.39 cycles/hash
Small key speed test - 22-byte keys - 148.81 cycles/hash
Small key speed test - 23-byte keys - 147.83 cycles/hash
Small key speed test - 24-byte keys - 145.60 cycles/hash
Small key speed test - 25-byte keys - 153.04 cycles/hash
Small key speed test - 26-byte keys - 147.95 cycles/hash
Small key speed test - 27-byte keys - 147.08 cycles/hash
Small key speed test - 28-byte keys - 146.92 cycles/hash
Small key speed test - 29-byte keys - 146.81 cycles/hash
Small key speed test - 30-byte keys - 147.05 cycles/hash
Small key speed test - 31-byte keys - 147.48 cycles/hash
Average 145.473 cycles/hash
[[[ 'Hashmap' Speed Tests ]]]
std::unordered_map
Init std HashMapTest: 855.643 cycles/op (479826 inserts, 1% deletions)
Running std HashMapTest: 745.855 cycles/op (15.6 stdv)
greg7mdp/parallel-hashmap
Init fast HashMapTest: 1051.787 cycles/op (479826 inserts, 1% deletions)
Running fast HashMapTest: 603.076 cycles/op (21.6 stdv) ....... PASS
[[[ Avalanche Tests ]]]
Testing 24-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.670000%
Testing 32-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.708667%
Testing 40-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.674000%
Testing 48-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.765333%
Testing 56-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.865333%
Testing 64-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.800000%
Testing 72-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.808667%
Testing 80-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.806000%
Testing 96-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.766000%
Testing 112-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.852667%
Testing 128-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.884000%
Testing 160-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.866000%
[[[ Keyset 'Sparse' Tests ]]]
Keyset 'Sparse' - 16-bit keys with up to 9 bits set - 50643 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 21 bits: 632/611 (1.03x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 1 (3.35x) (1) !
Testing collisions (low 19-25 bits) - Worst is 25 bits: 50/38 (1.31x)
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 170 - 0.740%
Keyset 'Sparse' - 24-bit keys with up to 8 bits set - 1271626 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 168 (0.89x)
Testing collisions (high 24-35 bits) - Worst is 29 bits: 1526/1505 (1.01x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 179 (0.95x)
Testing collisions (low 24-35 bits) - Worst is 27 bits: 6061/6023 (1.01x)
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 86 - 0.103%
Keyset 'Sparse' - 32-bit keys with up to 7 bits set - 4514873 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 2436 (1.03x) (63)
Testing collisions (high 25-38 bits) - Worst is 38 bits: 47/37 (1.27x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 2396 (1.01x) (23)
Testing collisions (low 25-38 bits) - Worst is 38 bits: 44/37 (1.19x)
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 130 - 0.064%
Keyset 'Sparse' - 40-bit keys with up to 6 bits set - 4598479 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 2472 (1.00x) (11)
Testing collisions (high 25-38 bits) - Worst is 37 bits: 93/76 (1.21x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 2481 (1.01x) (20)
Testing collisions (low 25-38 bits) - Worst is 38 bits: 43/38 (1.12x)
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 40 - 0.065%
Keyset 'Sparse' - 48-bit keys with up to 6 bits set - 14196869 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 23189 (0.99x) (-274)
Testing collisions (high 27-42 bits) - Worst is 42 bits: 27/22 (1.18x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 23504 (1.00x) (41)
Testing collisions (low 27-42 bits) - Worst is 42 bits: 31/22 (1.35x)
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 242 - 0.026%
Keyset 'Sparse' - 56-bit keys with up to 5 bits set - 4216423 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 2066 (1.00x) (-3)
Testing collisions (high 25-38 bits) - Worst is 35 bits: 268/258 (1.04x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 1969 (0.95x)
Testing collisions (low 25-38 bits) - Worst is 38 bits: 33/32 (1.02x)
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 15 - 0.073%
Keyset 'Sparse' - 64-bit keys with up to 5 bits set - 8303633 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 8055 (1.00x) (29)
Testing collisions (high 26-40 bits) - Worst is 40 bits: 38/31 (1.21x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 8059 (1.00x) (33)
Testing collisions (low 26-40 bits) - Worst is 38 bits: 136/125 (1.08x)
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 177 - 0.056%
Keyset 'Sparse' - 72-bit keys with up to 5 bits set - 15082603 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 26327 (0.99x) (-155)
Testing collisions (high 27-42 bits) - Worst is 41 bits: 60/51 (1.16x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 26347 (0.99x) (-135)
Testing collisions (low 27-42 bits) - Worst is 41 bits: 55/51 (1.06x)
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 14 - 0.027%
Keyset 'Sparse' - 96-bit keys with up to 4 bits set - 3469497 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 1430 (1.02x) (29)
Testing collisions (high 25-38 bits) - Worst is 32 bits: 1430/1401 (1.02x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 1421 (1.01x) (20)
Testing collisions (low 25-38 bits) - Worst is 38 bits: 23/21 (1.05x)
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 147 - 0.092%
Keyset 'Sparse' - 160-bit keys with up to 4 bits set - 26977161 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 84790 (1.00x) (67)
Testing collisions (high 28-44 bits) - Worst is 44 bits: 24/20 (1.16x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 84734 (1.00x) (11)
Testing collisions (low 28-44 bits) - Worst is 37 bits: 2740/2647 (1.03x)
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 90 - 0.017%
Keyset 'Sparse' - 256-bit keys with up to 3 bits set - 2796417 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 886 (0.97x)
Testing collisions (high 25-37 bits) - Worst is 29 bits: 7298/7282 (1.00x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 920 (1.01x) (10)
Testing collisions (low 25-37 bits) - Worst is 37 bits: 32/28 (1.12x)
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 111 - 0.146%
[[[ Keyset 'Permutation' Tests ]]]
Combination Lowbits Tests:
Keyset 'Combination' - up to 7 blocks from a set of 8 - 2396744 keys
Testing collisions (256-bit) - Expected 0.0, actual 299592 (12078026590599876481599109288244904578398655770932358517962945840807936.00x) (299592) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 299592 (2812134705157921761646659413409629971347436255526812402057216.00x) (299592) !!!!!
Testing collisions (high 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 300120 (448.79x) (299452) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 299610/20 (14336.83x) !!!!!
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 224-bit) - Expected 0.0, actual 299592 (2812134705157921761646659413409629971347436255526812402057216.00x) (299592) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 299592 (152446127832705112268189319902225263230976.00x) (299592) !!!!!
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 300099 (448.76x) (299431) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 299603/20 (14336.49x) !!!!!
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 77 - 3.123% !!!!!
*********FAIL*********
Combination Highbits Tests
Keyset 'Combination' - up to 7 blocks from a set of 8 - 2396744 keys
Testing collisions (256-bit) - Expected 0.0, actual 299592 (12078026590599876481599109288244904578398655770932358517962945840807936.00x) (299592) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 299592 (2812134705157921761646659413409629971347436255526812402057216.00x) (299592) !!!!!
Testing collisions (high 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 300092 (448.75x) (299424) !!!!!
Testing collisions (high 25-37 bits) - Worst is 37 bits: 299608/20 (14336.73x) !!!!!
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 224-bit) - Expected 0.0, actual 299592 (2812134705157921761646659413409629971347436255526812402057216.00x) (299592) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 299592 (152446127832705112268189319902225263230976.00x) (299592) !!!!!
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 300122 (448.79x) (299454) !!!!!
Testing collisions (low 25-37 bits) - Worst is 37 bits: 299602/20 (14336.44x) !!!!!
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 235 - 3.127% !!!!!
*********FAIL*********
Combination Hi-Lo Tests:
Keyset 'Combination' - up to 6 blocks from a set of 15 - 12204240 keys
Testing collisions (256-bit) - Expected 0.0, actual 813615 (1265046206971797854795306792375500078021276746713451995424446211948544.00x) (813615) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 813615 (294541522621130071299920508725452254996932285538281313009664.00x) (813615) !!!!!
Testing collisions (high 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 828597 (47.79x) (811258) !!!!!
Testing collisions (high 27-41 bits) - Worst is 41 bits: 813638/33 (24025.34x) !!!!!
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 224-bit) - Expected 0.0, actual 813615 (294541522621130071299920508725452254996932285538281313009664.00x) (813615) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 813615 (15967127935650878581487689500517627592704.00x) (813615) !!!!!
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 828871 (47.80x) (811532) !!!!!
Testing collisions (low 27-41 bits) - Worst is 41 bits: 813649/33 (24025.67x) !!!!!
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 231 - 1.247% !!!!!
*********FAIL*********
Combination 0x8000000 Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (256-bit) - Expected 0.0, actual 65534 (220853355534805519089693076401681714233423890503564963255311355359526912.00x) (65534) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 65534 (51421428922285679515845392924193691982287888066741862160924672.00x) (65534) !!!!!
Testing collisions (high 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 65543 (8193.03x) (65536) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 65555/31 (2048.63x) !!!!!
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 224-bit) - Expected 0.0, actual 65534 (51421428922285679515845392924193691982287888066741862160924672.00x) (65534) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 65534 (2787561247492554234017212795722790015598592.00x) (65534) !!!!!
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 65540 (8192.66x) (65533) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 65559/31 (2048.76x) !!!!!
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 162 - 11.497% !!!!!
*********FAIL*********
Combination 0x0000001 Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (256-bit) - Expected 0.0, actual 65534 (220853355534805519089693076401681714233423890503564963255311355359526912.00x) (65534) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 65534 (51421428922285679515845392924193691982287888066741862160924672.00x) (65534) !!!!!
Testing collisions (high 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 65539 (8192.53x) (65532) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 65545/31 (2048.32x) !!!!!
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 224-bit) - Expected 0.0, actual 65534 (51421428922285679515845392924193691982287888066741862160924672.00x) (65534) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 65534 (2787561247492554234017212795722790015598592.00x) (65534) !!!!!
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 65538 (8192.41x) (65531) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 65567/31 (2049.01x) !!!!!
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 237 - 11.529% !!!!!
*********FAIL*********
Combination 0x800000000000000 Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (256-bit) - Expected 0.0, actual 65278 (219990620786172595538258616500179500480280560730873119093227773033971712.00x) (65278) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 65278 (51220557835458916504461927455891738757556434890924282160873472.00x) (65278) !!!!!
Testing collisions (high 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 224-bit) - Expected 0.0, actual 65278 (51220557835458916504461927455891738757556434890924282160873472.00x) (65278) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 65278 (2776672004056199191617737622236565593915392.00x) (65278) !!!!!
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 65280 (8160.16x) (65273) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 65294/31 (2040.48x) !!!!!
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 178 - 11.256% !!!!!
*********FAIL*********
Combination 0x000000000000001 Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (256-bit) - Expected 0.0, actual 65278 (219990620786172595538258616500179500480280560730873119093227773033971712.00x) (65278) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 65278 (51220557835458916504461927455891738757556434890924282160873472.00x) (65278) !!!!!
Testing collisions (high 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 65280 (8160.16x) (65273) !!!!!
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 224-bit) - Expected 0.0, actual 65278 (51220557835458916504461927455891738757556434890924282160873472.00x) (65278) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 65278 (2776672004056199191617737622236565593915392.00x) (65278) !!!!!
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 65283 (8160.53x) (65276) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 65292/31 (2040.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 109 - 11.256% !!!!!
*********FAIL*********
Combination 16-bytes [0-1] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (256-bit) - Expected 0.0, actual 61166 (206132943886256211953485296623856724603310957447116496440108322054471680.00x) (61166) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 61166 (47994066003304024216133471723612566619019712658393312348078080.00x) (61166) !!!!!
Testing collisions (high 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 61168 (7646.15x) (61161) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 61190/31 (1912.22x) !!!!!
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 224-bit) - Expected 0.0, actual 61166 (47994066003304024216133471723612566619019712658393312348078080.00x) (61166) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 61166 (2601763531359745704106148005423948371066880.00x) (61166) !!!!!
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 61173 (7646.77x) (61166) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 61183/31 (1912.01x) !!!!!
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 188 - 8.795% !!!!!
*********FAIL*********
Combination 16-bytes [0-last] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (256-bit) - Expected 0.0, actual 61166 (206132943886256211953485296623856724603310957447116496440108322054471680.00x) (61166) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 61166 (47994066003304024216133471723612566619019712658393312348078080.00x) (61166) !!!!!
Testing collisions (high 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 61171 (7646.52x) (61164) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 61182/31 (1911.97x) !!!!!
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 224-bit) - Expected 0.0, actual 61166 (47994066003304024216133471723612566619019712658393312348078080.00x) (61166) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 61166 (2601763531359745704106148005423948371066880.00x) (61166) !!!!!
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 61170 (7646.40x) (61163) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 61188/31 (1912.16x) !!!!!
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 203 - 8.772% !!!!!
*********FAIL*********
Combination 32-bytes [0-1] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (256-bit) - Expected 0.0, actual 43690 (147237817061611593978163014076595793992966360693624319114263632860413952.00x) (43690) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 43690 (34281475716645734845232920273345847146810582069126963409190912.00x) (43690) !!!!!
Testing collisions (high 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 43695 (5461.98x) (43688) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 43712/31 (1366.03x) !!!!!
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 224-bit) - Expected 0.0, actual 43690 (34281475716645734845232920273345847146810582069126963409190912.00x) (43690) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 43690 (1858402522399818536924397044642859536351232.00x) (43690) !!!!!
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 43699 (5462.48x) (43692) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 43716/31 (1366.15x) !!!!!
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 100 - 4.327% !!!!!
*********FAIL*********
Combination 32-bytes [0-last] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (256-bit) - Expected 0.0, actual 43690 (147237817061611593978163014076595793992966360693624319114263632860413952.00x) (43690) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 43690 (34281475716645734845232920273345847146810582069126963409190912.00x) (43690) !!!!!
Testing collisions (high 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 43701 (5462.73x) (43694) !!!!!
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 224-bit) - Expected 0.0, actual 43690 (34281475716645734845232920273345847146810582069126963409190912.00x) (43690) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 43690 (1858402522399818536924397044642859536351232.00x) (43690) !!!!!
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: 43715/31 (1366.12x) !!!!!
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 223 - 4.315% !!!!!
*********FAIL*********
Combination 64-bytes [0-1] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 10 (1.25x) (3)
Testing collisions (high 21-30 bits) - Worst is 27 bits: 272/255 (1.06x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 5 (0.63x)
Testing collisions (low 21-30 bits) - Worst is 26 bits: 506/511 (0.99x)
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 92 - 0.265%
Combination 64-bytes [0-last] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 27 bits: 274/255 (1.07x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 8 (1.00x) (1)
Testing collisions (low 21-30 bits) - Worst is 27 bits: 263/255 (1.03x)
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 197 - 0.238%
Combination 128-bytes [0-1] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 6 (0.75x)
Testing collisions (high 21-30 bits) - Worst is 30 bits: 33/31 (1.03x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 5 (0.63x)
Testing collisions (low 21-30 bits) - Worst is 28 bits: 132/127 (1.03x)
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 232 - 0.205%
Combination 128-bytes [0-last] Tests:
Keyset 'Combination' - up to 17 blocks from a set of 2 - 262142 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 13 (1.63x) (6)
Testing collisions (high 21-30 bits) - Worst is 30 bits: 36/31 (1.13x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 10 (1.25x) (3)
Testing collisions (low 21-30 bits) - Worst is 29 bits: 74/63 (1.16x)
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 247 - 0.260%
[[[ Keyset 'Window' Tests ]]]
Keyset 'Window' - 32-bit key, 25-bit window - 32 tests, 33554432 keys per test
Window at 0 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 1 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 2 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 3 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 4 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 5 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 6 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 7 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 8 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 9 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 10 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 11 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 12 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 13 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 14 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 15 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 16 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 17 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 18 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 19 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 20 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 21 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 22 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 23 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 24 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 25 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 26 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 27 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 28 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 29 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 30 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 31 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Window at 32 - Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
[[[ Keyset 'Cyclic' Tests ]]]
Keyset 'Cyclic' - 8 cycles of 32 bytes - 1000000 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 141 (1.21x) (25)
Testing collisions (high 23-34 bits) - Worst is 34 bits: 39/29 (1.34x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 127 (1.09x) (11)
Testing collisions (low 23-34 bits) - Worst is 34 bits: 39/29 (1.34x)
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 76 - 0.133%
Keyset 'Cyclic' - 8 cycles of 33 bytes - 1000000 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 118 (1.01x) (2)
Testing collisions (high 23-34 bits) - Worst is 30 bits: 472/465 (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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 128 (1.10x) (12)
Testing collisions (low 23-34 bits) - Worst is 32 bits: 128/116 (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 132 - 0.147%
Keyset 'Cyclic' - 8 cycles of 34 bytes - 1000000 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 114 (0.98x)
Testing collisions (high 23-34 bits) - Worst is 34 bits: 31/29 (1.07x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 30 bits: 473/465 (1.02x)
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 209 - 0.187%
Keyset 'Cyclic' - 8 cycles of 35 bytes - 1000000 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 101 (0.87x)
Testing collisions (high 23-34 bits) - Worst is 34 bits: 34/29 (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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 121 (1.04x) (5)
Testing collisions (low 23-34 bits) - Worst is 31 bits: 258/232 (1.11x)
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 229 - 0.122%
Keyset 'Cyclic' - 8 cycles of 36 bytes - 1000000 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 111 (0.95x)
Testing collisions (high 23-34 bits) - Worst is 31 bits: 235/232 (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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 97 (0.83x)
Testing collisions (low 23-34 bits) - Worst is 30 bits: 471/465 (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 247 - 0.129%
Keyset 'Cyclic' - 8 cycles of 40 bytes - 1000000 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 100 (0.86x)
Testing collisions (high 23-34 bits) - Worst is 30 bits: 467/465 (1.00x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 136 (1.17x) (20)
Testing collisions (low 23-34 bits) - Worst is 33 bits: 75/58 (1.29x)
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 88 - 0.140%
[[[ Keyset 'TwoBytes' Tests ]]]
Keyset 'TwoBytes' - up-to-4-byte keys, 652545 total keys
Testing collisions (256-bit) - Expected 0.0, actual 261375 (142151898536353902640512217718656493751124892518334022827173309268885504.00x) (261375) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 261375 (33097318032838847171634486345261450333317018234714405338087424.00x) (261375) !!!!!
Testing collisions (high 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 261395 (5273.11x) (261346) !!!!!
Testing collisions (high 23-33 bits) - Worst is 33 bits: 261386/24 (10545.86x) !!!!!
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 224-bit) - Expected 0.0, actual 261375 (33097318032838847171634486345261450333317018234714405338087424.00x) (261375) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 261375 (1794209205732377004408012625777079368024064.00x) (261375) !!!!!
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 261399 (5273.19x) (261350) !!!!!
Testing collisions (low 23-33 bits) - Worst is 33 bits: 261388/24 (10545.94x) !!!!!
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 116 - 9.339% !!!!!
Keyset 'TwoBytes' - up-to-8-byte keys, 5471025 total keys
Testing collisions (256-bit) - Expected 0.0, actual 3648285 (28226714072151676304381391999948790695388678320297737879212744157167616.00x) (3648285) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 3648285 (6572044005652814243077624589192865112654091399232330238263296.00x) (3648285) !!!!!
Testing collisions (high 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 3648675 (1047.10x) (3645191) !!!!!
Testing collisions (high 26-39 bits) - Worst is 39 bits: 3648287/27 (134014.41x) !!!!!
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 224-bit) - Expected 0.0, actual 3648285 (6572044005652814243077624589192865112654091399232330238263296.00x) (3648285) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 3648285 (356271219429955899274691952953933856505856.00x) (3648285) !!!!!
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 3648656 (1047.09x) (3645172) !!!!!
Testing collisions (low 26-39 bits) - Worst is 39 bits: 3648287/27 (134014.41x) !!!!!
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 255 - 36.658% !!!!!
Keyset 'TwoBytes' - up-to-12-byte keys, 18616785 total keys
Testing collisions (256-bit) - Expected 0.0, actual 14322075 (9569857834835384430619886633234903371692909482524151202846927384215552.00x) (14322075) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 14322075 (2228156159360749747282799015109171944598879078990815021760512.00x) (14322075) !!!!!
Testing collisions (high 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 14324169 (355.02x) (14283822) !!!!!
Testing collisions (high 27-42 bits) - Worst is 42 bits: 14322078/39 (363485.01x) !!!!!
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 224-bit) - Expected 0.0, actual 14322075 (2228156159360749747282799015109171944598879078990815021760512.00x) (14322075) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 14322075 (120788587430794135129156120122692659576832.00x) (14322075) !!!!!
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 14324210 (355.02x) (14283863) !!!!!
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 187 - 22.052% !!!!!
*********FAIL*********
[[[ Keyset 'Text' Tests ]]]
Keyset 'Text' - keys of form "FooXXXXBar" - 14776336 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 25357 (1.00x) (-61)
Testing collisions (high 27-42 bits) - Worst is 39 bits: 208/198 (1.05x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 25230 (0.99x) (-188)
Testing collisions (low 27-42 bits) - Worst is 37 bits: 831/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 13 - 0.025%
Keyset 'Text' - keys of form "FooBarXXXX" - 14776336 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 25341 (1.00x) (-77)
Testing collisions (high 27-42 bits) - Worst is 40 bits: 118/99 (1.19x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 25315 (1.00x) (-103)
Testing collisions (low 27-42 bits) - Worst is 41 bits: 53/49 (1.07x)
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 185 - 0.035%
Keyset 'Text' - keys of form "XXXXFooBar" - 14776336 keys
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 25210 (0.99x) (-208)
Testing collisions (high 27-42 bits) - Worst is 36 bits: 1606/1588 (1.01x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 25371 (1.00x) (-47)
Testing collisions (low 27-42 bits) - Worst is 42 bits: 28/24 (1.13x)
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 208 - 0.027%
Keyset 'Words' - 4000000 random keys of len 6-16 from alnum charset
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 1786 (0.96x)
Testing collisions (high 25-38 bits) - Worst is 36 bits: 117/116 (1.01x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 1783 (0.96x)
Testing collisions (low 25-38 bits) - Worst is 38 bits: 29/29 (1.00x)
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 246 - 0.072%
Keyset 'Words' - 4000000 random keys of len 6-16 from password charset
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 1888 (1.01x) (26)
Testing collisions (high 25-38 bits) - Worst is 37 bits: 70/58 (1.20x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 1788 (0.96x)
Testing collisions (low 25-38 bits) - Worst is 36 bits: 120/116 (1.03x)
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 243 - 0.075%
Keyset 'Words' - 479826 dict words
Testing collisions (256-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (high 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 27 (1.01x) (1)
Testing collisions (high 22-32 bits) - Worst is 32 bits: 27/26 (1.01x)
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 224-bit) - Expected 0.0, actual 0 (0.00x)
Testing collisions (low 160-bit) - Expected 0.0, actual 0 (0.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 26 (0.97x)
Testing collisions (low 22-32 bits) - Worst is 30 bits: 112/107 (1.04x)
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 93 - 0.234%
[[[ Keyset 'Zeroes' Tests ]]]
Keyset 'Zeroes' - 204800 keys
Testing collisions (256-bit) - Expected 0.0, actual 201600 (1113119085962169043340277592047386470501344744429250276492029405048078336.00x) (201600) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 201600 (259168233247978855702159365650123560452215546842024260315119616.00x) (201600) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 201600 (14049538076334430817906362727193125245157376.00x) (201600) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 201600 (3271162993352494858649178111737856.00x) (201600) !!!!!