forked from rurban/smhasher
-
Notifications
You must be signed in to change notification settings - Fork 10
/
blake3_c
2210 lines (2055 loc) · 155 KB
/
blake3_c
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 blake3_c "BLAKE3 c" GOOD
[[[ Sanity Tests ]]]
Verification value 0x170AB674 ....... PASS
Running sanity check 1 .......... PASS
Running AppendedZeroesTest .......... PASS
[[[ Speed Tests ]]]
Bulk speed test - 262144-byte keys
Alignment 7 - 0.430 bytes/cycle - 1231.09 MiB/sec @ 3 ghz
Alignment 6 - 0.430 bytes/cycle - 1231.07 MiB/sec @ 3 ghz
Alignment 5 - 0.430 bytes/cycle - 1231.26 MiB/sec @ 3 ghz
Alignment 4 - 0.431 bytes/cycle - 1231.89 MiB/sec @ 3 ghz
Alignment 3 - 0.430 bytes/cycle - 1231.12 MiB/sec @ 3 ghz
Alignment 2 - 0.430 bytes/cycle - 1230.91 MiB/sec @ 3 ghz
Alignment 1 - 0.430 bytes/cycle - 1230.99 MiB/sec @ 3 ghz
Alignment 0 - 0.437 bytes/cycle - 1248.87 MiB/sec @ 3 ghz
Average - 0.431 bytes/cycle - 1233.40 MiB/sec @ 3 ghz
Small key speed test - 1-byte keys - 359.51 cycles/hash
Small key speed test - 2-byte keys - 361.51 cycles/hash
Small key speed test - 3-byte keys - 361.51 cycles/hash
Small key speed test - 4-byte keys - 364.21 cycles/hash
Small key speed test - 5-byte keys - 364.12 cycles/hash
Small key speed test - 6-byte keys - 363.98 cycles/hash
Small key speed test - 7-byte keys - 363.98 cycles/hash
Small key speed test - 8-byte keys - 361.32 cycles/hash
Small key speed test - 9-byte keys - 362.66 cycles/hash
Small key speed test - 10-byte keys - 362.66 cycles/hash
Small key speed test - 11-byte keys - 362.66 cycles/hash
Small key speed test - 12-byte keys - 362.85 cycles/hash
Small key speed test - 13-byte keys - 362.84 cycles/hash
Small key speed test - 14-byte keys - 362.85 cycles/hash
Small key speed test - 15-byte keys - 362.88 cycles/hash
Small key speed test - 16-byte keys - 356.31 cycles/hash
Small key speed test - 17-byte keys - 362.12 cycles/hash
Small key speed test - 18-byte keys - 362.38 cycles/hash
Small key speed test - 19-byte keys - 362.75 cycles/hash
Small key speed test - 20-byte keys - 358.00 cycles/hash
Small key speed test - 21-byte keys - 358.74 cycles/hash
Small key speed test - 22-byte keys - 358.00 cycles/hash
Small key speed test - 23-byte keys - 358.00 cycles/hash
Small key speed test - 24-byte keys - 360.25 cycles/hash
Small key speed test - 25-byte keys - 357.58 cycles/hash
Small key speed test - 26-byte keys - 357.58 cycles/hash
Small key speed test - 27-byte keys - 357.59 cycles/hash
Small key speed test - 28-byte keys - 358.10 cycles/hash
Small key speed test - 29-byte keys - 358.07 cycles/hash
Small key speed test - 30-byte keys - 358.05 cycles/hash
Small key speed test - 31-byte keys - 358.07 cycles/hash
Average 360.682 cycles/hash
[[[ 'Hashmap' Speed Tests ]]]
std::unordered_map
Init std HashMapTest: 1407.291 cycles/op (479826 inserts, 1% deletions)
Running std HashMapTest: 1102.025 cycles/op (4.0 stdv)
greg7mdp/parallel-hashmap
Init fast HashMapTest: 1720.226 cycles/op (479826 inserts, 1% deletions)
Running fast HashMapTest: 983.966 cycles/op (4.4 stdv) ....... PASS
[[[ Avalanche Tests ]]]
Testing 24-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.772667%
Testing 32-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.762667%
Testing 40-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.761333%
Testing 48-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.671333%
Testing 56-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.759333%
Testing 64-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.732000%
Testing 72-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.762000%
Testing 80-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.658667%
Testing 96-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.854667%
Testing 112-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.706000%
Testing 128-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.820667%
Testing 160-bit keys -> 256-bit hashes, 300000 reps worst bias is 0.790667%
[[[ 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.6, actual 0 (0.00x)
Testing collisions (high 19-26 bits) - Worst is 19 bits: 2322/4891 (0.47x)
Testing collisions (high 12-bit) - Expected 50643.0, actual 46547 (0.92x)
Testing collisions (high 8-bit) - Expected 50643.0, actual 50387 (0.99x) (-256)
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.6, actual 0 (0.00x)
Testing collisions (low 19-26 bits) - Worst is 26 bits: 23/38 (0.60x)
Testing collisions (low 12-bit) - Expected 50643.0, actual 46547 (0.92x)
Testing collisions (low 8-bit) - Expected 50643.0, actual 50387 (0.99x) (-256)
Testing distribution - Worst bias is the 13-bit window at bit 48 - 0.818%
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 376.5, actual 182 (0.48x)
Testing collisions (high 24-36 bits) - Worst is 29 bits: 1599/3011 (0.53x)
Testing collisions (high 12-bit) - Expected 1271626.0, actual 1267530 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 1271626.0, actual 1271370 (1.00x) (-256)
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 376.5, actual 193 (0.51x)
Testing collisions (low 24-36 bits) - Worst is 31 bits: 390/752 (0.52x)
Testing collisions (low 12-bit) - Expected 1271626.0, actual 1267530 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 1271626.0, actual 1271370 (1.00x) (-256)
Testing distribution - Worst bias is the 17-bit window at bit 106 - 0.099%
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 4746.0, actual 2440 (0.51x)
Testing collisions (high 26-39 bits) - Worst is 39 bits: 22/37 (0.59x)
Testing collisions (high 12-bit) - Expected 4514873.0, actual 4510777 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 4514873.0, actual 4514617 (1.00x) (-256)
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 4746.0, actual 2370 (0.50x)
Testing collisions (low 26-39 bits) - Worst is 34 bits: 614/1186 (0.52x)
Testing collisions (low 12-bit) - Expected 4514873.0, actual 4510777 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 4514873.0, actual 4514617 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 104 - 0.074%
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 4923.4, actual 2465 (0.50x)
Testing collisions (high 26-39 bits) - Worst is 39 bits: 21/38 (0.55x)
Testing collisions (high 12-bit) - Expected 4598479.0, actual 4594383 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 4598479.0, actual 4598223 (1.00x) (-256)
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 4923.4, actual 2402 (0.49x)
Testing collisions (low 26-39 bits) - Worst is 37 bits: 84/153 (0.55x)
Testing collisions (low 12-bit) - Expected 4598479.0, actual 4594383 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 4598479.0, actual 4598223 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 194 - 0.071%
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 46927.3, actual 23524 (0.50x)
Testing collisions (high 28-43 bits) - Worst is 42 bits: 24/45 (0.52x)
Testing collisions (high 12-bit) - Expected 14196869.0, actual 14192773 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 14196869.0, actual 14196613 (1.00x) (-256)
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 46927.3, actual 23163 (0.49x)
Testing collisions (low 28-43 bits) - Worst is 36 bits: 1477/2932 (0.50x)
Testing collisions (low 12-bit) - Expected 14196869.0, actual 14192773 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 14196869.0, actual 14196613 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 28 - 0.025%
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 4139.3, actual 2092 (0.51x)
Testing collisions (high 26-39 bits) - Worst is 35 bits: 266/517 (0.51x)
Testing collisions (high 12-bit) - Expected 4216423.0, actual 4212327 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 4216423.0, actual 4216167 (1.00x) (-256)
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 4139.3, actual 2070 (0.50x)
Testing collisions (low 26-39 bits) - Worst is 37 bits: 72/129 (0.56x)
Testing collisions (low 12-bit) - Expected 4216423.0, actual 4212327 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 4216423.0, actual 4216167 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 28 - 0.062%
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 16053.7, actual 7996 (0.50x)
Testing collisions (high 27-41 bits) - Worst is 37 bits: 276/501 (0.55x)
Testing collisions (high 12-bit) - Expected 8303633.0, actual 8299537 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 8303633.0, actual 8303377 (1.00x) (-256)
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 16053.7, actual 8084 (0.50x)
Testing collisions (low 27-41 bits) - Worst is 41 bits: 21/31 (0.67x)
Testing collisions (low 12-bit) - Expected 8303633.0, actual 8299537 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 8303633.0, actual 8303377 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 79 - 0.050%
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 52965.5, actual 26504 (0.50x)
Testing collisions (high 28-43 bits) - Worst is 42 bits: 28/51 (0.54x)
Testing collisions (high 12-bit) - Expected 15082603.0, actual 15078507 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 15082603.0, actual 15082347 (1.00x) (-256)
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 52965.5, actual 26122 (0.49x)
Testing collisions (low 28-43 bits) - Worst is 39 bits: 218/413 (0.53x)
Testing collisions (low 12-bit) - Expected 15082603.0, actual 15078507 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 15082603.0, actual 15082347 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 121 - 0.028%
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 2802.7, actual 1444 (0.52x)
Testing collisions (high 26-39 bits) - Worst is 39 bits: 13/21 (0.59x)
Testing collisions (high 12-bit) - Expected 3469497.0, actual 3465401 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 3469497.0, actual 3469241 (1.00x) (-256)
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 2802.7, actual 1326 (0.47x)
Testing collisions (low 26-39 bits) - Worst is 36 bits: 89/175 (0.51x)
Testing collisions (low 12-bit) - Expected 3469497.0, actual 3465401 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 3469497.0, actual 3469241 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 38 - 0.083%
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 169446.5, actual 84577 (0.50x)
Testing collisions (high 29-45 bits) - Worst is 45 bits: 15/20 (0.73x)
Testing collisions (high 12-bit) - Expected 26977161.0, actual 26973065 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 26977161.0, actual 26976905 (1.00x) (-256)
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 169446.5, actual 84812 (0.50x)
Testing collisions (low 29-45 bits) - Worst is 45 bits: 18/20 (0.87x)
Testing collisions (low 12-bit) - Expected 26977161.0, actual 26973065 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 26977161.0, actual 26976905 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 120 - 0.015%
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 1820.7, actual 920 (0.51x)
Testing collisions (high 25-38 bits) - Worst is 37 bits: 33/56 (0.58x)
Testing collisions (high 12-bit) - Expected 2796417.0, actual 2792321 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 2796417.0, actual 2796161 (1.00x) (-256)
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 1820.7, actual 913 (0.50x)
Testing collisions (low 25-38 bits) - Worst is 33 bits: 471/910 (0.52x)
Testing collisions (low 12-bit) - Expected 2796417.0, actual 2792321 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 2796417.0, actual 2796161 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 16 - 0.118%
[[[ 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 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 1337.5, actual 721 (0.54x)
Testing collisions (high 25-38 bits) - Worst is 32 bits: 721/1337 (0.54x)
Testing collisions (high 12-bit) - Expected 2396744.0, actual 2392648 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 2396744.0, actual 2396488 (1.00x) (-256)
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 1337.5, actual 638 (0.48x)
Testing collisions (low 25-38 bits) - Worst is 38 bits: 12/20 (0.57x)
Testing collisions (low 12-bit) - Expected 2396744.0, actual 2392648 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 2396744.0, actual 2396488 (1.00x) (-256)
Testing distribution - Worst bias is the 18-bit window at bit 83 - 0.100%
Combination Highbits Tests
Keyset 'Combination' - up to 7 blocks from a set of 8 - 2396744 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 1337.5, actual 637 (0.48x)
Testing collisions (high 25-38 bits) - Worst is 37 bits: 29/41 (0.69x)
Testing collisions (high 12-bit) - Expected 2396744.0, actual 2392648 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 2396744.0, actual 2396488 (1.00x) (-256)
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 1337.5, actual 696 (0.52x)
Testing collisions (low 25-38 bits) - Worst is 38 bits: 17/20 (0.81x)
Testing collisions (low 12-bit) - Expected 2396744.0, actual 2392648 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 2396744.0, actual 2396488 (1.00x) (-256)
Testing distribution - Worst bias is the 18-bit window at bit 71 - 0.080%
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 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 34678.6, actual 17376 (0.50x)
Testing collisions (high 27-42 bits) - Worst is 42 bits: 25/33 (0.74x)
Testing collisions (high 12-bit) - Expected 12204240.0, actual 12200144 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 12204240.0, actual 12203984 (1.00x) (-256)
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 34678.6, actual 17353 (0.50x)
Testing collisions (low 27-42 bits) - Worst is 41 bits: 38/67 (0.56x)
Testing collisions (low 12-bit) - Expected 12204240.0, actual 12200144 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 12204240.0, actual 12203984 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 118 - 0.029%
Combination 0x8000000 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 16.0, actual 9 (0.56x)
Testing collisions (high 22-31 bits) - Worst is 26 bits: 555/1023 (0.54x)
Testing collisions (high 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (high 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
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 16.0, actual 6 (0.38x)
Testing collisions (low 22-31 bits) - Worst is 27 bits: 278/511 (0.54x)
Testing collisions (low 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (low 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
Testing distribution - Worst bias is the 15-bit window at bit 15 - 0.260%
Combination 0x0000001 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 16.0, actual 8 (0.50x)
Testing collisions (high 22-31 bits) - Worst is 29 bits: 73/127 (0.57x)
Testing collisions (high 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (high 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
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 16.0, actual 11 (0.69x)
Testing collisions (low 22-31 bits) - Worst is 31 bits: 23/31 (0.72x)
Testing collisions (low 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (low 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
Testing distribution - Worst bias is the 15-bit window at bit 113 - 0.295%
Combination 0x800000000000000 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 16.0, actual 2 (0.13x)
Testing collisions (high 22-31 bits) - Worst is 24 bits: 2032/4095 (0.50x)
Testing collisions (high 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (high 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
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 16.0, actual 9 (0.56x)
Testing collisions (low 22-31 bits) - Worst is 31 bits: 20/31 (0.63x)
Testing collisions (low 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (low 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
Testing distribution - Worst bias is the 15-bit window at bit 187 - 0.309%
Combination 0x000000000000001 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 16.0, actual 9 (0.56x)
Testing collisions (high 22-31 bits) - Worst is 31 bits: 20/31 (0.63x)
Testing collisions (high 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (high 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
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 16.0, actual 9 (0.56x)
Testing collisions (low 22-31 bits) - Worst is 27 bits: 254/511 (0.50x)
Testing collisions (low 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (low 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
Testing distribution - Worst bias is the 15-bit window at bit 112 - 0.270%
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 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 16.0, actual 8 (0.50x)
Testing collisions (high 22-31 bits) - Worst is 22 bits: 8097/16383 (0.49x)
Testing collisions (high 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (high 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
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 16.0, actual 8 (0.50x)
Testing collisions (low 22-31 bits) - Worst is 30 bits: 37/63 (0.58x)
Testing collisions (low 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (low 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
Testing distribution - Worst bias is the 15-bit window at bit 222 - 0.346%
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 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 16.0, actual 15 (0.94x)
Testing collisions (high 22-31 bits) - Worst is 31 bits: 23/31 (0.72x)
Testing collisions (high 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (high 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
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 16.0, actual 7 (0.44x)
Testing collisions (low 22-31 bits) - Worst is 24 bits: 2057/4095 (0.50x)
Testing collisions (low 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (low 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
Testing distribution - Worst bias is the 15-bit window at bit 79 - 0.243%
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 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 16.0, actual 10 (0.63x)
Testing collisions (high 22-31 bits) - Worst is 31 bits: 21/31 (0.66x)
Testing collisions (high 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (high 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
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 16.0, actual 9 (0.56x)
Testing collisions (low 22-31 bits) - Worst is 31 bits: 17/31 (0.53x)
Testing collisions (low 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (low 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
Testing distribution - Worst bias is the 15-bit window at bit 186 - 0.309%
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 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 16.0, actual 8 (0.50x)
Testing collisions (high 22-31 bits) - Worst is 31 bits: 18/31 (0.56x)
Testing collisions (high 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (high 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
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 16.0, actual 8 (0.50x)
Testing collisions (low 22-31 bits) - Worst is 26 bits: 502/1023 (0.49x)
Testing collisions (low 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (low 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
Testing distribution - Worst bias is the 15-bit window at bit 50 - 0.253%
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 16.0, actual 4 (0.25x)
Testing collisions (high 22-31 bits) - Worst is 23 bits: 4022/8191 (0.49x)
Testing collisions (high 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (high 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
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 16.0, actual 13 (0.81x)
Testing collisions (low 22-31 bits) - Worst is 31 bits: 18/31 (0.56x)
Testing collisions (low 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (low 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
Testing distribution - Worst bias is the 15-bit window at bit 255 - 0.324%
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 16.0, actual 4 (0.25x)
Testing collisions (high 22-31 bits) - Worst is 26 bits: 539/1023 (0.53x)
Testing collisions (high 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (high 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
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 16.0, actual 10 (0.63x)
Testing collisions (low 22-31 bits) - Worst is 31 bits: 21/31 (0.66x)
Testing collisions (low 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (low 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
Testing distribution - Worst bias is the 15-bit window at bit 92 - 0.312%
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 16.0, actual 8 (0.50x)
Testing collisions (high 22-31 bits) - Worst is 26 bits: 517/1023 (0.50x)
Testing collisions (high 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (high 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
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 16.0, actual 7 (0.44x)
Testing collisions (low 22-31 bits) - Worst is 31 bits: 18/31 (0.56x)
Testing collisions (low 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (low 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
Testing distribution - Worst bias is the 15-bit window at bit 106 - 0.252%
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 16.0, actual 4 (0.25x)
Testing collisions (high 22-31 bits) - Worst is 25 bits: 1032/2047 (0.50x)
Testing collisions (high 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (high 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
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 16.0, actual 9 (0.56x)
Testing collisions (low 22-31 bits) - Worst is 24 bits: 2093/4095 (0.51x)
Testing collisions (low 12-bit) - Expected 262142.0, actual 258046 (0.98x) (-4096)
Testing collisions (low 8-bit) - Expected 262142.0, actual 261886 (1.00x) (-256)
Testing distribution - Worst bias is the 15-bit window at bit 249 - 0.316%
[[[ 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 232.8, actual 132 (0.57x)
Testing collisions (high 24-35 bits) - Worst is 34 bits: 35/58 (0.60x)
Testing collisions (high 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
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 232.8, actual 118 (0.51x)
Testing collisions (low 24-35 bits) - Worst is 35 bits: 17/29 (0.58x)
Testing collisions (low 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
Testing distribution - Worst bias is the 17-bit window at bit 200 - 0.158%
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 232.8, actual 98 (0.42x)
Testing collisions (high 24-35 bits) - Worst is 27 bits: 3675/7450 (0.49x)
Testing collisions (high 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
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 232.8, actual 106 (0.46x)
Testing collisions (low 24-35 bits) - Worst is 28 bits: 1886/3725 (0.51x)
Testing collisions (low 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
Testing distribution - Worst bias is the 17-bit window at bit 163 - 0.112%
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 232.8, actual 126 (0.54x)
Testing collisions (high 24-35 bits) - Worst is 33 bits: 66/116 (0.57x)
Testing collisions (high 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
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 232.8, actual 108 (0.46x)
Testing collisions (low 24-35 bits) - Worst is 35 bits: 17/29 (0.58x)
Testing collisions (low 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
Testing distribution - Worst bias is the 17-bit window at bit 45 - 0.122%
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 232.8, actual 114 (0.49x)
Testing collisions (high 24-35 bits) - Worst is 33 bits: 59/116 (0.51x)
Testing collisions (high 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
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 232.8, actual 119 (0.51x)
Testing collisions (low 24-35 bits) - Worst is 35 bits: 17/29 (0.58x)
Testing collisions (low 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
Testing distribution - Worst bias is the 17-bit window at bit 104 - 0.141%
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 232.8, actual 115 (0.49x)
Testing collisions (high 24-35 bits) - Worst is 35 bits: 15/29 (0.52x)
Testing collisions (high 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
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 232.8, actual 117 (0.50x)
Testing collisions (low 24-35 bits) - Worst is 34 bits: 40/58 (0.69x)
Testing collisions (low 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
Testing distribution - Worst bias is the 17-bit window at bit 10 - 0.133%
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 232.8, actual 108 (0.46x)
Testing collisions (high 24-35 bits) - Worst is 31 bits: 234/465 (0.50x)
Testing collisions (high 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
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 232.8, actual 118 (0.51x)
Testing collisions (low 24-35 bits) - Worst is 35 bits: 17/29 (0.58x)
Testing collisions (low 12-bit) - Expected 1000000.0, actual 995904 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 1000000.0, actual 999744 (1.00x) (-256)
Testing distribution - Worst bias is the 17-bit window at bit 171 - 0.155%
[[[ Keyset 'TwoBytes' Tests ]]]
Keyset 'TwoBytes' - up-to-4-byte keys, 652545 total 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 99.1, actual 51 (0.51x)
Testing collisions (high 23-34 bits) - Worst is 30 bits: 212/396 (0.53x)
Testing collisions (high 12-bit) - Expected 652545.0, actual 648449 (0.99x) (-4096)
Testing collisions (high 8-bit) - Expected 652545.0, actual 652289 (1.00x) (-256)
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 99.1, actual 40 (0.40x)
Testing collisions (low 23-34 bits) - Worst is 26 bits: 3202/6345 (0.50x)
Testing collisions (low 12-bit) - Expected 652545.0, actual 648449 (0.99x) (-4096)
Testing collisions (low 8-bit) - Expected 652545.0, actual 652289 (1.00x) (-256)
Testing distribution - Worst bias is the 16-bit window at bit 119 - 0.155%
Keyset 'TwoBytes' - up-to-8-byte keys, 5471025 total 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 6969.1, actual 3395 (0.49x)
Testing collisions (high 26-40 bits) - Worst is 40 bits: 21/27 (0.77x)
Testing collisions (high 12-bit) - Expected 5471025.0, actual 5466929 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 5471025.0, actual 5470769 (1.00x) (-256)
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 6969.1, actual 3367 (0.48x)
Testing collisions (low 26-40 bits) - Worst is 39 bits: 30/54 (0.55x)
Testing collisions (low 12-bit) - Expected 5471025.0, actual 5466929 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 5471025.0, actual 5470769 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 141 - 0.088%
Keyset 'TwoBytes' - up-to-12-byte keys, 18616785 total 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 80695.5, actual 40053 (0.50x)
Testing collisions (high 28-43 bits) - Worst is 40 bits: 180/315 (0.57x)
Testing collisions (high 12-bit) - Expected 18616785.0, actual 18612689 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 18616785.0, actual 18616529 (1.00x) (-256)
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 80695.5, actual 40082 (0.50x)
Testing collisions (low 28-43 bits) - Worst is 42 bits: 45/78 (0.57x)
Testing collisions (low 12-bit) - Expected 18616785.0, actual 18612689 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 18616785.0, actual 18616529 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 62 - 0.018%
[[[ Keyset 'Text' Tests ]]]
Keyset 'Text' - keys of form "Foo[XXXX]Bar" - 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 50836.3, actual 25628 (0.50x)
Testing collisions (high 28-43 bits) - Worst is 43 bits: 17/24 (0.68x)
Testing collisions (high 12-bit) - Expected 14776336.0, actual 14772240 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 14776336.0, actual 14776080 (1.00x) (-256)
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 50836.3, actual 25511 (0.50x)
Testing collisions (low 28-43 bits) - Worst is 43 bits: 14/24 (0.56x)
Testing collisions (low 12-bit) - Expected 14776336.0, actual 14772240 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 14776336.0, actual 14776080 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 167 - 0.022%
Keyset 'Text' - keys of form "FooBar[XXXX]" - 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 50836.3, actual 25150 (0.49x)
Testing collisions (high 28-43 bits) - Worst is 43 bits: 21/24 (0.85x)
Testing collisions (high 12-bit) - Expected 14776336.0, actual 14772240 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 14776336.0, actual 14776080 (1.00x) (-256)
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 50836.3, actual 25427 (0.50x)
Testing collisions (low 28-43 bits) - Worst is 39 bits: 212/397 (0.53x)
Testing collisions (low 12-bit) - Expected 14776336.0, actual 14772240 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 14776336.0, actual 14776080 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 141 - 0.024%
Keyset 'Text' - keys of form "[XXXX]FooBar" - 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 50836.3, actual 25291 (0.50x)
Testing collisions (high 28-43 bits) - Worst is 43 bits: 18/24 (0.73x)
Testing collisions (high 12-bit) - Expected 14776336.0, actual 14772240 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 14776336.0, actual 14776080 (1.00x) (-256)
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 50836.3, actual 25225 (0.50x)
Testing collisions (low 28-43 bits) - Worst is 43 bits: 15/24 (0.60x)
Testing collisions (low 12-bit) - Expected 14776336.0, actual 14772240 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 14776336.0, actual 14776080 (1.00x) (-256)
Testing distribution - Worst bias is the 20-bit window at bit 129 - 0.024%
[[[ Keyset 'Zeroes' Tests ]]]
Keyset 'Zeroes' - 204800 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 9.8, actual 2 (0.20x)
Testing collisions (high 21-30 bits) - Worst is 25 bits: 643/1249 (0.51x)
Testing collisions (high 12-bit) - Expected 204800.0, actual 200704 (0.98x)
Testing collisions (high 8-bit) - Expected 204800.0, actual 204544 (1.00x) (-256)
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 9.8, actual 6 (0.61x)
Testing collisions (low 21-30 bits) - Worst is 28 bits: 83/156 (0.53x)
Testing collisions (low 12-bit) - Expected 204800.0, actual 200704 (0.98x)
Testing collisions (low 8-bit) - Expected 204800.0, actual 204544 (1.00x) (-256)
Testing distribution - Worst bias is the 15-bit window at bit 186 - 0.309%
[[[ Keyset 'Seed' Tests ]]]
Keyset 'Seed' - 5000000 keys
Testing collisions (256-bit) - Expected 0.0, actual 4999999 (23158417847463238036752062278931228048268952728608204639603275348312064.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 4999999 (5391989333430127714935704665009683940622246062524664364662784.00x) (4999999) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 4999999 (292300327466180570413595234786825442689024.00x) (4999999) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 4999999 (68056473384187689612990998380544.00x) (4999999) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 4999999 (3689348814741.91x) (4999999) !!!!!
Testing collisions (high 32-bit) - Expected 5820.8, actual 4999999 (858.99x) (4994179) !!!!!
Testing collisions (high 26-40 bits) - Worst is 40 bits: 4999999/22 (219902.33x) !!!!!
Testing collisions (high 12-bit) - Expected 5000000.0, actual 4999999 (1.00x) (-1)
Testing collisions (high 8-bit) - Expected 5000000.0, actual 4999999 (1.00x) (-1)
Testing collisions (low 224-bit) - Expected 0.0, actual 4999999 (5391989333430127714935704665009683940622246062524664364662784.00x) (4999999) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 4999999 (292300327466180570413595234786825442689024.00x) (4999999) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 4999999 (68056473384187689612990998380544.00x) (4999999) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 4999999 (3689348814741.91x) (4999999) !!!!!
Testing collisions (low 32-bit) - Expected 5820.8, actual 4999999 (858.99x) (4994179) !!!!!
Testing collisions (low 26-40 bits) - Worst is 40 bits: 4999999/22 (219902.33x) !!!!!
Testing collisions (low 12-bit) - Expected 5000000.0, actual 4999999 (1.00x) (-1)
Testing collisions (low 8-bit) - Expected 5000000.0, actual 4999999 (1.00x) (-1)
Testing distribution - Worst bias is the 19-bit window at bit 0 - 100.000% !!!!!
*********FAIL*********
[[[ Diff 'Differential' Tests ]]]
Testing 8303632 up-to-5-bit differentials in 64-bit keys -> 256 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 -> 256 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 -> 256 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 (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 1024.0, actual 504 (0.49x)
Testing collisions (high 25-37 bits) - Worst is 36 bits: 34/63 (0.53x)
Testing collisions (high 12-bit) - Expected 2097152.0, actual 2093056 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 2097152.0, actual 2096896 (1.00x) (-256)
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 1024.0, actual 487 (0.48x)