forked from rurban/smhasher
-
Notifications
You must be signed in to change notification settings - Fork 10
/
sha2ni-256
2220 lines (2066 loc) · 163 KB
/
sha2ni-256
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.6, actual 0 (0.00x)
Testing collisions (high 19-26 bits) - Worst is 21 bits: 632/1222 (0.52x)
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 1 (1.67x) (1)
Testing collisions (low 19-26 bits) - Worst is 26 bits: 29/38 (0.76x)
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 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 376.5, actual 168 (0.45x)
Testing collisions (high 24-36 bits) - Worst is 36 bits: 12/23 (0.51x)
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 179 (0.48x)
Testing collisions (low 24-36 bits) - Worst is 27 bits: 6061/12047 (0.50x)
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 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 4746.0, actual 2436 (0.51x)
Testing collisions (high 26-39 bits) - Worst is 38 bits: 47/74 (0.63x)
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 2396 (0.50x)
Testing collisions (low 26-39 bits) - Worst is 38 bits: 44/74 (0.59x)
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 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 4923.4, actual 2472 (0.50x)
Testing collisions (high 26-39 bits) - Worst is 39 bits: 27/38 (0.70x)
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 2481 (0.50x)
Testing collisions (low 26-39 bits) - Worst is 38 bits: 43/76 (0.56x)
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 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 46927.3, actual 23189 (0.49x)
Testing collisions (high 28-43 bits) - Worst is 43 bits: 16/22 (0.70x)
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 23504 (0.50x)
Testing collisions (low 28-43 bits) - Worst is 43 bits: 17/22 (0.74x)
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 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 4139.3, actual 2066 (0.50x)
Testing collisions (high 26-39 bits) - Worst is 35 bits: 268/517 (0.52x)
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 1969 (0.48x)
Testing collisions (low 26-39 bits) - Worst is 38 bits: 33/64 (0.51x)
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 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 16053.7, actual 8055 (0.50x)
Testing collisions (high 27-41 bits) - Worst is 40 bits: 38/62 (0.61x)
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 8059 (0.50x)
Testing collisions (low 27-41 bits) - Worst is 38 bits: 136/250 (0.54x)
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 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 52965.5, actual 26327 (0.50x)
Testing collisions (high 28-43 bits) - Worst is 41 bits: 60/103 (0.58x)
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 26347 (0.50x)
Testing collisions (low 28-43 bits) - Worst is 43 bits: 18/25 (0.70x)
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 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 2802.7, actual 1430 (0.51x)
Testing collisions (high 26-39 bits) - Worst is 32 bits: 1430/2802 (0.51x)
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 1421 (0.51x)
Testing collisions (low 26-39 bits) - Worst is 39 bits: 16/21 (0.73x)
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 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 169446.5, actual 84790 (0.50x)
Testing collisions (high 29-45 bits) - Worst is 45 bits: 13/20 (0.63x)
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 84734 (0.50x)
Testing collisions (low 29-45 bits) - Worst is 37 bits: 2740/5295 (0.52x)
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 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 1820.7, actual 886 (0.49x)
Testing collisions (high 25-38 bits) - Worst is 29 bits: 7298/14565 (0.50x)
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 920 (0.51x)
Testing collisions (low 25-38 bits) - Worst is 37 bits: 32/56 (0.56x)
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 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 (6039013295299938240799554644122452289199327885466179258981472920403968.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 299592 (1406067352578960880823329706704814985673718127763406201028608.00x) (299592) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 299592 (76223063916352556134094659951112631615488.00x) (299592) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 299592 (17747065032914410376477674569728.00x) (299592) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 299592 (962070323196.37x) (299592) !!!!!
Testing collisions (high 32-bit) - Expected 1337.5, actual 300120 (224.39x) (298783) !!!!!
Testing collisions (high 25-38 bits) - Worst is 38 bits: 299603/20 (14336.49x) !!!!!
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 299592 (1406067352578960880823329706704814985673718127763406201028608.00x) (299592) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 299592 (76223063916352556134094659951112631615488.00x) (299592) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 299592 (17747065032914410376477674569728.00x) (299592) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 299592 (962070323196.37x) (299592) !!!!!
Testing collisions (low 32-bit) - Expected 1337.5, actual 300099 (224.38x) (298762) !!!!!
Testing collisions (low 25-38 bits) - Worst is 38 bits: 299595/20 (14336.11x) !!!!!
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 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 (6039013295299938240799554644122452289199327885466179258981472920403968.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 299592 (1406067352578960880823329706704814985673718127763406201028608.00x) (299592) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 299592 (76223063916352556134094659951112631615488.00x) (299592) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 299592 (17747065032914410376477674569728.00x) (299592) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 299592 (962070323196.37x) (299592) !!!!!
Testing collisions (high 32-bit) - Expected 1337.5, actual 300092 (224.37x) (298755) !!!!!
Testing collisions (high 25-38 bits) - Worst is 38 bits: 299603/20 (14336.49x) !!!!!
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 299592 (1406067352578960880823329706704814985673718127763406201028608.00x) (299592) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 299592 (76223063916352556134094659951112631615488.00x) (299592) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 299592 (17747065032914410376477674569728.00x) (299592) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 299592 (962070323196.37x) (299592) !!!!!
Testing collisions (low 32-bit) - Expected 1337.5, actual 300122 (224.40x) (298785) !!!!!
Testing collisions (low 25-38 bits) - Worst is 38 bits: 299599/20 (14336.30x) !!!!!
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 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 (632523103485898927397653396187750039010638373356725997712223105974272.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 813615 (147270761310565035649960254362726127498466142769140656504832.00x) (813615) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 813615 (7983563967825439290743844750258813796352.00x) (813615) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 813615 (1858818337280638350812682125312.00x) (813615) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 813615 (100766743976.78x) (813615) !!!!!
Testing collisions (high 32-bit) - Expected 34678.6, actual 828597 (23.89x) (793919) !!!!!
Testing collisions (high 27-42 bits) - Worst is 42 bits: 813628/33 (24025.05x) !!!!!
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 813615 (147270761310565035649960254362726127498466142769140656504832.00x) (813615) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 813615 (7983563967825439290743844750258813796352.00x) (813615) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 813615 (1858818337280638350812682125312.00x) (813615) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 813615 (100766743976.78x) (813615) !!!!!
Testing collisions (low 32-bit) - Expected 34678.6, actual 828871 (23.90x) (794193) !!!!!
Testing collisions (low 27-42 bits) - Worst is 42 bits: 813630/33 (24025.11x) !!!!!
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 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 196606 (331286773417431973349785196320503057395082268019196599915483311026208768.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 196606 (77133712688794353359794522710261646983000046578048868085137408.00x) (196606) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 196606 (4181426943453177874794565093377046151692288.00x) (196606) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 196606 (973564326635836128796116703510528.00x) (196606) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 196606 (52777027899648.04x) (196606) !!!!!
Testing collisions (high 32-bit) - Expected 16.0, actual 196607 (12288.17x) (196592) !!!!!
Testing collisions (high 22-31 bits) - Worst is 31 bits: 196607/31 (6144.09x) !!!!!
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 196606 (77133712688794353359794522710261646983000046578048868085137408.00x) (196606) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 196606 (4181426943453177874794565093377046151692288.00x) (196606) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 196606 (973564326635836128796116703510528.00x) (196606) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 196606 (52777027899648.04x) (196606) !!!!!
Testing collisions (low 32-bit) - Expected 16.0, actual 196607 (12288.17x) (196592) !!!!!
Testing collisions (low 22-31 bits) - Worst is 31 bits: 196608/31 (6144.12x) !!!!!
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 200 - 31.025% !!!!!
*********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 196606 (331286773417431973349785196320503057395082268019196599915483311026208768.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 196606 (77133712688794353359794522710261646983000046578048868085137408.00x) (196606) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 196606 (4181426943453177874794565093377046151692288.00x) (196606) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 196606 (973564326635836128796116703510528.00x) (196606) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 196606 (52777027899648.04x) (196606) !!!!!
Testing collisions (high 32-bit) - Expected 16.0, actual 196607 (12288.17x) (196592) !!!!!
Testing collisions (high 22-31 bits) - Worst is 31 bits: 196607/31 (6144.09x) !!!!!
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 196606 (77133712688794353359794522710261646983000046578048868085137408.00x) (196606) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 196606 (4181426943453177874794565093377046151692288.00x) (196606) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 196606 (973564326635836128796116703510528.00x) (196606) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 196606 (52777027899648.04x) (196606) !!!!!
Testing collisions (low 32-bit) - Expected 16.0, actual 196606 (12288.11x) (196591) !!!!!
Testing collisions (low 22-31 bits) - Worst is 31 bits: 196607/31 (6144.09x) !!!!!
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 164 - 31.005% !!!!!
*********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 196350 (330855406043115511574067966369751950518510603132850677834441519863431168.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 196350 (77033277145380971854102789976110670370634319990140078085111808.00x) (196350) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 196350 (4175982321735000353594827506633933940850688.00x) (196350) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 196350 (972296651856741018964636024700928.00x) (196350) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 196350 (52708307112173.04x) (196350) !!!!!
Testing collisions (high 32-bit) - Expected 16.0, actual 196350 (12272.11x) (196335) !!!!!
Testing collisions (high 22-31 bits) - Worst is 31 bits: 196350/31 (6136.05x) !!!!!
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 196350 (77033277145380971854102789976110670370634319990140078085111808.00x) (196350) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 196350 (4175982321735000353594827506633933940850688.00x) (196350) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 196350 (972296651856741018964636024700928.00x) (196350) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 196350 (52708307112173.04x) (196350) !!!!!
Testing collisions (low 32-bit) - Expected 16.0, actual 196350 (12272.11x) (196335) !!!!!
Testing collisions (low 22-31 bits) - Worst is 31 bits: 196351/31 (6136.09x) !!!!!
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 6 - 89.337% !!!!!
*********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 196350 (330855406043115511574067966369751950518510603132850677834441519863431168.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 196350 (77033277145380971854102789976110670370634319990140078085111808.00x) (196350) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 196350 (4175982321735000353594827506633933940850688.00x) (196350) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 196350 (972296651856741018964636024700928.00x) (196350) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 196350 (52708307112173.04x) (196350) !!!!!
Testing collisions (high 32-bit) - Expected 16.0, actual 196350 (12272.11x) (196335) !!!!!
Testing collisions (high 22-31 bits) - Worst is 31 bits: 196350/31 (6136.05x) !!!!!
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 196350 (77033277145380971854102789976110670370634319990140078085111808.00x) (196350) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 196350 (4175982321735000353594827506633933940850688.00x) (196350) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 196350 (972296651856741018964636024700928.00x) (196350) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 196350 (52708307112173.04x) (196350) !!!!!
Testing collisions (low 32-bit) - Expected 16.0, actual 196351 (12272.17x) (196336) !!!!!
Testing collisions (low 22-31 bits) - Worst is 31 bits: 196352/31 (6136.12x) !!!!!
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 80 - 89.440% !!!!!
*********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 192238 (323926567593157344301609960285812296313578235895919304407707749311315968.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 192238 (75420031229303531418929332933810608534509836671855138709700608.00x) (192238) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 192238 (4088528085386773919324042519572694054207488.00x) (192238) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 192238 (951934625717525817296477621321728.00x) (192238) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 192238 (51604479463355.85x) (192238) !!!!!
Testing collisions (high 32-bit) - Expected 16.0, actual 192238 (12015.10x) (192223) !!!!!
Testing collisions (high 22-31 bits) - Worst is 31 bits: 192239/31 (6007.58x) !!!!!
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 192238 (75420031229303531418929332933810608534509836671855138709700608.00x) (192238) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 192238 (4088528085386773919324042519572694054207488.00x) (192238) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 192238 (951934625717525817296477621321728.00x) (192238) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 192238 (51604479463355.85x) (192238) !!!!!
Testing collisions (low 32-bit) - Expected 16.0, actual 192238 (12015.10x) (192223) !!!!!
Testing collisions (low 22-31 bits) - Worst is 31 bits: 192238/31 (6007.55x) !!!!!
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 190 - 39.081% !!!!!
*********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 192238 (323926567593157344301609960285812296313578235895919304407707749311315968.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 192238 (75420031229303531418929332933810608534509836671855138709700608.00x) (192238) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 192238 (4088528085386773919324042519572694054207488.00x) (192238) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 192238 (951934625717525817296477621321728.00x) (192238) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 192238 (51604479463355.85x) (192238) !!!!!
Testing collisions (high 32-bit) - Expected 16.0, actual 192239 (12015.17x) (192224) !!!!!
Testing collisions (high 22-31 bits) - Worst is 31 bits: 192239/31 (6007.58x) !!!!!
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 192238 (75420031229303531418929332933810608534509836671855138709700608.00x) (192238) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 192238 (4088528085386773919324042519572694054207488.00x) (192238) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 192238 (951934625717525817296477621321728.00x) (192238) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 192238 (51604479463355.85x) (192238) !!!!!
Testing collisions (low 32-bit) - Expected 16.0, actual 192238 (12015.10x) (192223) !!!!!
Testing collisions (low 22-31 bits) - Worst is 31 bits: 192240/31 (6007.61x) !!!!!
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 45 - 39.046% !!!!!
*********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 174762 (294479004180835035313948819012181831008405937519173215744785404714287104.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 174762 (68563736085974386733479057208677248798405271377221964240257024.00x) (174762) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 174762 (3716847580906810335733167039182149636849664.00x) (174762) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 174762 (865396014625860921976428255248384.00x) (174762) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 174762 (46913211955882.79x) (174762) !!!!!
Testing collisions (high 32-bit) - Expected 16.0, actual 174763 (10922.90x) (174748) !!!!!
Testing collisions (high 22-31 bits) - Worst is 31 bits: 174763/31 (5461.45x) !!!!!
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 174762 (68563736085974386733479057208677248798405271377221964240257024.00x) (174762) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 174762 (3716847580906810335733167039182149636849664.00x) (174762) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 174762 (865396014625860921976428255248384.00x) (174762) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 174762 (46913211955882.79x) (174762) !!!!!
Testing collisions (low 32-bit) - Expected 16.0, actual 174766 (10923.08x) (174751) !!!!!
Testing collisions (low 22-31 bits) - Worst is 31 bits: 174766/31 (5461.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 26 - 20.582% !!!!!
*********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 174762 (294479004180835035313948819012181831008405937519173215744785404714287104.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 174762 (68563736085974386733479057208677248798405271377221964240257024.00x) (174762) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 174762 (3716847580906810335733167039182149636849664.00x) (174762) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 174762 (865396014625860921976428255248384.00x) (174762) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 174762 (46913211955882.79x) (174762) !!!!!
Testing collisions (high 32-bit) - Expected 16.0, actual 174763 (10922.90x) (174748) !!!!!
Testing collisions (high 22-31 bits) - Worst is 31 bits: 174763/31 (5461.45x) !!!!!
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 174762 (68563736085974386733479057208677248798405271377221964240257024.00x) (174762) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 174762 (3716847580906810335733167039182149636849664.00x) (174762) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 174762 (865396014625860921976428255248384.00x) (174762) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 174762 (46913211955882.79x) (174762) !!!!!
Testing collisions (low 32-bit) - Expected 16.0, actual 174763 (10922.90x) (174748) !!!!!
Testing collisions (low 22-31 bits) - Worst is 31 bits: 174765/31 (5461.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 - 20.452% !!!!!
*********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 16.0, actual 10 (0.63x)
Testing collisions (high 22-31 bits) - Worst is 27 bits: 272/511 (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 5 (0.31x)
Testing collisions (low 22-31 bits) - Worst is 26 bits: 506/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 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 16.0, actual 5 (0.31x)
Testing collisions (high 22-31 bits) - Worst is 27 bits: 274/511 (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 8 (0.50x)
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 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 16.0, actual 6 (0.38x)
Testing collisions (high 22-31 bits) - Worst is 30 bits: 33/63 (0.52x)
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 5 (0.31x)
Testing collisions (low 22-31 bits) - Worst is 28 bits: 132/255 (0.52x)
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 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 16.0, actual 13 (0.81x)
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 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 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 232.8, actual 141 (0.61x)
Testing collisions (high 24-35 bits) - Worst is 34 bits: 39/58 (0.67x)
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 127 (0.55x)
Testing collisions (low 24-35 bits) - Worst is 34 bits: 39/58 (0.67x)
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 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 232.8, actual 116 (0.50x)
Testing collisions (high 24-35 bits) - Worst is 35 bits: 16/29 (0.55x)
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 114 (0.49x)
Testing collisions (low 24-35 bits) - Worst is 30 bits: 493/931 (0.53x)
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 71 - 0.128%
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 122 (0.52x)
Testing collisions (high 24-35 bits) - Worst is 33 bits: 68/116 (0.58x)
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 116 (0.50x)
Testing collisions (low 24-35 bits) - Worst is 31 bits: 247/465 (0.53x)
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 170 - 0.166%
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 135 (0.58x)
Testing collisions (high 24-35 bits) - Worst is 32 bits: 135/232 (0.58x)
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 132 (0.57x)
Testing collisions (low 24-35 bits) - Worst is 35 bits: 18/29 (0.62x)
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 137 - 0.118%
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 113 (0.49x)
Testing collisions (high 24-35 bits) - Worst is 28 bits: 1887/3725 (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 116 (0.50x)
Testing collisions (low 24-35 bits) - Worst is 31 bits: 235/465 (0.50x)
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 144 - 0.143%
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 100 (0.43x)
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 136 (0.58x)
Testing collisions (low 24-35 bits) - Worst is 33 bits: 75/116 (0.64x)
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 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 (71075949268176951320256108859328246875562446259167011413586654634442752.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 261375 (16548659016419423585817243172630725166658509117357202669043712.00x) (261375) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 261375 (897104602866188502204006312888539684012032.00x) (261375) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 261375 (208873442110183765693569163067392.00x) (261375) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 261375 (11323051985519.32x) (261375) !!!!!
Testing collisions (high 32-bit) - Expected 99.1, actual 261395 (2636.56x) (261296) !!!!!
Testing collisions (high 23-34 bits) - Worst is 34 bits: 261379/24 (10545.58x) !!!!!
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 261375 (16548659016419423585817243172630725166658509117357202669043712.00x) (261375) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 261375 (897104602866188502204006312888539684012032.00x) (261375) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 261375 (208873442110183765693569163067392.00x) (261375) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 261375 (11323051985519.32x) (261375) !!!!!
Testing collisions (low 32-bit) - Expected 99.1, actual 261399 (2636.60x) (261300) !!!!!
Testing collisions (low 23-34 bits) - Worst is 34 bits: 261378/24 (10545.53x) !!!!!
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 116 - 9.339% !!!!!
Keyset 'TwoBytes' - up-to-8-byte keys, 5471025 total keys
Testing collisions (256-bit) - Expected 0.0, actual 3648285 (14113357036075838152190695999974395347694339160148868939606372078583808.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 3648285 (3286022002826407121538812294596432556327045699616165119131648.00x) (3648285) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 3648285 (178135609714977949637345976476966928252928.00x) (3648285) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 3648285 (41475428667612827764206094778368.00x) (3648285) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 3648285 (2248387493309.67x) (3648285) !!!!!
Testing collisions (high 32-bit) - Expected 6969.1, actual 3648675 (523.55x) (3641706) !!!!!
Testing collisions (high 26-40 bits) - Worst is 40 bits: 3648286/27 (134014.37x) !!!!!
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 3648285 (3286022002826407121538812294596432556327045699616165119131648.00x) (3648285) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 3648285 (178135609714977949637345976476966928252928.00x) (3648285) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 3648285 (41475428667612827764206094778368.00x) (3648285) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 3648285 (2248387493309.67x) (3648285) !!!!!
Testing collisions (low 32-bit) - Expected 6969.1, actual 3648656 (523.55x) (3641687) !!!!!
Testing collisions (low 26-40 bits) - Worst is 40 bits: 3648287/27 (134014.41x) !!!!!
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 255 - 36.658% !!!!!
Keyset 'TwoBytes' - up-to-12-byte keys, 18616785 total keys
Testing collisions (256-bit) - Expected 0.0, actual 14322075 (4784928917417692215309943316617451685846454741262075601423463692107776.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 14322075 (1114078079680374873641399507554585972299439539495407510880256.00x) (14322075) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 14322075 (60394293715397067564578060061346329788416.00x) (14322075) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 14322075 (14061642278776752661116900868096.00x) (14322075) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 14322075 (762283155368.19x) (14322075) !!!!!
Testing collisions (high 32-bit) - Expected 80695.5, actual 14324169 (177.51x) (14243474) !!!!!
Testing collisions (high 28-43 bits) - Worst is 43 bits: 14322077/39 (363484.98x) !!!!!
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 14322075 (1114078079680374873641399507554585972299439539495407510880256.00x) (14322075) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 14322075 (60394293715397067564578060061346329788416.00x) (14322075) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 14322075 (14061642278776752661116900868096.00x) (14322075) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 14322075 (762283155368.19x) (14322075) !!!!!
Testing collisions (low 32-bit) - Expected 80695.5, actual 14324210 (177.51x) (14243515) !!!!!
Testing collisions (low 28-43 bits) - Worst is 43 bits: 14322076/39 (363484.96x) !!!!!
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 187 - 22.052% !!!!!
*********FAIL*********
[[[ 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 25357 (0.50x)
Testing collisions (high 28-43 bits) - Worst is 39 bits: 208/397 (0.52x)
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 25230 (0.50x)
Testing collisions (low 28-43 bits) - Worst is 37 bits: 831/1588 (0.52x)
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 13 - 0.025%
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 25341 (0.50x)
Testing collisions (high 28-43 bits) - Worst is 40 bits: 118/198 (0.59x)
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 25315 (0.50x)
Testing collisions (low 28-43 bits) - Worst is 41 bits: 53/99 (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 185 - 0.035%
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 25210 (0.50x)
Testing collisions (high 28-43 bits) - Worst is 36 bits: 1606/3177 (0.51x)
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 25371 (0.50x)
Testing collisions (low 28-43 bits) - Worst is 42 bits: 28/49 (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 208 - 0.027%
[[[ Keyset 'Zeroes' Tests ]]]
Keyset 'Zeroes' - 204800 keys
Testing collisions (256-bit) - Expected 0.0, actual 201601 (556562303693103307438367388095027720915507657498935738212708951074537472.00x) !!!!!
Testing collisions (high 224-bit) - Expected 0.0, actual 201601 (129584759402345704715318835362565638710630046552730663263404032.00x) (201601) !!!!!
Testing collisions (high 160-bit) - Expected 0.0, actual 201601 (7024803883251730510842356101017553235607552.00x) (201601) !!!!!
Testing collisions (high 128-bit) - Expected 0.0, actual 201601 (1635589609679703253983137221312512.00x) (201601) !!!!!
Testing collisions (high 64-bit) - Expected 0.0, actual 201601 (88665490405472.62x) (201601) !!!!!
Testing collisions (high 32-bit) - Expected 9.8, actual 201601 (20644.04x) (201592) !!!!!
Testing collisions (high 21-30 bits) - Worst is 30 bits: 201601/39 (5161.01x) !!!!!
Testing collisions (high 12-bit) - Expected 204800.0, actual 202616 (0.99x) (-2184)
Testing collisions (high 8-bit) - Expected 204800.0, actual 204544 (1.00x) (-256)
Testing collisions (low 224-bit) - Expected 0.0, actual 201601 (129584759402345704715318835362565638710630046552730663263404032.00x) (201601) !!!!!
Testing collisions (low 160-bit) - Expected 0.0, actual 201601 (7024803883251730510842356101017553235607552.00x) (201601) !!!!!
Testing collisions (low 128-bit) - Expected 0.0, actual 201601 (1635589609679703253983137221312512.00x) (201601) !!!!!
Testing collisions (low 64-bit) - Expected 0.0, actual 201601 (88665490405472.62x) (201601) !!!!!
Testing collisions (low 32-bit) - Expected 9.8, actual 201601 (20644.04x) (201592) !!!!!
Testing collisions (low 21-30 bits) - Worst is 30 bits: 201601/39 (5161.01x) !!!!!
Testing collisions (low 12-bit) - Expected 204800.0, actual 202589 (0.99x) (-2211)
Testing collisions (low 8-bit) - Expected 204800.0, actual 204544 (1.00x) (-256)
Testing distribution - Worst bias is the 15-bit window at bit 244 - 91.147% !!!!!
*********FAIL*********
[[[ Keyset 'Seed' Tests ]]]
Keyset 'Seed' - 5000000 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 5820.8, actual 2844 (0.49x)
Testing collisions (high 26-40 bits) - Worst is 38 bits: 56/90 (0.62x)
Testing collisions (high 12-bit) - Expected 5000000.0, actual 4995904 (1.00x) (-4096)
Testing collisions (high 8-bit) - Expected 5000000.0, actual 4999744 (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 5820.8, actual 2859 (0.49x)
Testing collisions (low 26-40 bits) - Worst is 40 bits: 13/22 (0.57x)
Testing collisions (low 12-bit) - Expected 5000000.0, actual 4995904 (1.00x) (-4096)
Testing collisions (low 8-bit) - Expected 5000000.0, actual 4999744 (1.00x) (-256)
Testing distribution - Worst bias is the 19-bit window at bit 149 - 0.062%
[[[ 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)