Dialog Poker test

You can reach this dialog via the menu entry Analysis \ Analyse Randomness \ Poker Test.

A default dialog for the Poker Test looks like this:

poker_test_dlg.gif

In this dialog it is possible to choose and determine various parameters. The significance level alpha can be any one of three predetermined values: 0.01, 0.05 and 0.10. The tuple size combo box determines the tuples for the Poker test.

The Default offset and test length check box is used to decide whether the default values (offset = 0 and test length = file length) should be used in the test or user-defined values.

If these values are incorrectly selected, then the following error message is displayed:

falsch_offset_dialog.gif

along with a message box that looks like this:

falsch_offset_msgbox.gif

The Use randomly chosen sections from file checkbox is used to determine whether random offsets and test lengths should be generated. If an offset and test length are specified and the Use randomly chosen sections from file checkbox is enabled, the values defined by the user are used during generation of the random offset and test lengths.

To perform the test, click on the Execute test pushbutton.

After the Execute test pushbutton has been clicked, the dialog should look like this:

poker_beispiel_dlg.gif

The maximum test value is a statistical value that is dependent on the significance level and may not be exceeded if the test is passed.

The test outcome is a statistical value generated by the test, which is compared with maximum test value.

If the data does not pass the test, then the following message appears in the test status field:

poker_beispiel2_dlg.gif

To close the dialog and return to the CrypTool main window, click on Close.