<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://crocs.fi.muni.cz/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://crocs.fi.muni.cz/feed.php">
        <title>CRoCS wiki - public:thesis</title>
        <description>Centre for Research on Cryptography and Security</description>
        <link>https://crocs.fi.muni.cz/</link>
        <image rdf:resource="https://crocs.fi.muni.cz/_media/wiki/logo.png" />
       <dc:date>2026-08-18T12:41:46+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://crocs.fi.muni.cz/public/thesis/kubicek2017"/>
                <rdf:li rdf:resource="https://crocs.fi.muni.cz/public/thesis/main"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://crocs.fi.muni.cz/_media/wiki/logo.png">
        <title>CRoCS wiki</title>
        <link>https://crocs.fi.muni.cz/</link>
        <url>https://crocs.fi.muni.cz/_media/wiki/logo.png</url>
    </image>
    <item rdf:about="https://crocs.fi.muni.cz/public/thesis/kubicek2017">
        <dc:format>text/html</dc:format>
        <dc:date>2017-06-21T15:48:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Optimisation heuristics in randomness testing</title>
        <link>https://crocs.fi.muni.cz/public/thesis/kubicek2017</link>
        <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;optimisation_heuristics_in_randomness_testing&quot;&gt;Optimisation heuristics in randomness testing&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;strong&gt;Karel Kubíček &lt;a href=&quot;mailto:&amp;#107;&amp;#97;&amp;#114;&amp;#101;&amp;#108;&amp;#46;&amp;#107;&amp;#117;&amp;#98;&amp;#105;&amp;#99;&amp;#101;&amp;#107;&amp;#64;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#46;&amp;#109;&amp;#117;&amp;#110;&amp;#105;&amp;#46;&amp;#99;&amp;#122;&quot; class=&quot;mail&quot; title=&quot;&amp;#107;&amp;#97;&amp;#114;&amp;#101;&amp;#108;&amp;#46;&amp;#107;&amp;#117;&amp;#98;&amp;#105;&amp;#99;&amp;#101;&amp;#107;&amp;#64;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#46;&amp;#109;&amp;#117;&amp;#110;&amp;#105;&amp;#46;&amp;#99;&amp;#122;&quot;&gt;&amp;#107;&amp;#97;&amp;#114;&amp;#101;&amp;#108;&amp;#46;&amp;#107;&amp;#117;&amp;#98;&amp;#105;&amp;#99;&amp;#101;&amp;#107;&amp;#64;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#46;&amp;#109;&amp;#117;&amp;#110;&amp;#105;&amp;#46;&amp;#99;&amp;#122;&lt;/a&gt;, master thesis, spring 2017&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Keywords:&lt;/strong&gt; &lt;em&gt;randomness testing, cryptanalysis, block functions, stream functions, hash functions, problem optimization, metaheuristics&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Abstract:&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em&gt;A detectable non-randomness of cryptoprimitive&amp;#039;s output signals a bias of the cryptographic function. This bias may signal deeper security issues of the primitive. Therefore, statistical testing of randomness is one of the automated ways of cryptanalysis. Randomness assessment by statistical batteries is an example of such automated cryptanalysis. Research tool EACirc developed at Faculty of Informatics, Masaryk University aims to design the randomness tests, which adapts to the tested data. The tool utilises a simple heuristic based on local search. This thesis researches other metaheuristics and their influence on EACirc&amp;#039;s success rate. In extension, proof of concept artificial neural network for randomness testing was analysed.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em&gt;This thesis has three main contributions. The first is a development of a testbed of 16 well-known cryptographic functions used for randomness testing comparison. The second is an extension of EACirc by three new metaheuristics. One of them, called guided local search, outperforms all the others in terms of its success rate. The third contribution is an analysis of randomness tests produced by EACirc computation. Successful tests contain evidence of the bias in the tested data. The influence of tested metaheuristics on the complexity of these tests is analysed. It is shown that the guided local search produces the least complex tests, such that allow easier cryptanalysis.&lt;/em&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Download thesis &lt;a href=&quot;https://crocs.fi.muni.cz/_media/public/thesis/thesis-pc.pdf&quot; class=&quot;media mediafile mf_pdf&quot; target=&quot;_blank&quot; title=&quot;public:thesis:thesis-pc.pdf (455.2 KB)&quot; rel=&quot;noopener&quot;&gt;pdf&lt;/a&gt;, presentation &lt;a href=&quot;https://crocs.fi.muni.cz/_media/public/thesis/pres.pdf&quot; class=&quot;media mediafile mf_pdf&quot; target=&quot;_blank&quot; title=&quot;public:thesis:pres.pdf (621.9 KB)&quot; rel=&quot;noopener&quot;&gt;pdf&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Download &lt;a href=&quot;https://drive.google.com/drive/folders/0B5Z1zst5NzwXQmFKaXgxREJWNk0?usp=sharing&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://drive.google.com/drive/folders/0B5Z1zst5NzwXQmFKaXgxREJWNk0?usp=sharing&quot; rel=&quot;ugc nofollow noopener&quot;&gt;dataset&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; List of tools:&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://github.com/crocs-muni/eacirc/tree/metaheuristics&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://github.com/crocs-muni/eacirc/tree/metaheuristics&quot; rel=&quot;ugc nofollow noopener&quot;&gt;EACirc (metaheuristics branch)&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://github.com/crocs-muni/eacirc-streams&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://github.com/crocs-muni/eacirc-streams&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Generator&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://github.com/crocs-muni/eanet&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://github.com/crocs-muni/eanet&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Neural network&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://github.com/crocs-muni/eacirc-utils&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://github.com/crocs-muni/eacirc-utils&quot; rel=&quot;ugc nofollow noopener&quot;&gt;Automation scripts&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Optimisation heuristics in randomness testing&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;optimisation_heuristics_in_randomness_testing&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-2259&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;bibtex&quot;&gt;Bibtex&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;@thesis{kubicekMasterThesis,
    author = {Karel Kubíček},
    supervisor = {Petr Švenda}, 
    title = {{Optimisation heuristics in randomness testing}},
    type = {Master thesis},
    institution = {Faculty of Informatics Masaryk University},
    year = {2017},
    url = {http://is.muni.cz/th/408351/fi_m/},
}&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Bibtex&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;bibtex&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;2260-2611&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit3&quot; id=&quot;results&quot;&gt;Results&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
We analysed application of three single-solution metaheuristics in randomness testing tool EACirc. They all performed similarly, over the testbed of 16 functions, only five of them showed some differences. The differences are showed in following figure. The numbers are rejection rate of EACirc - how often the metaheuristic produces a randomness test capable of distinguishing selected data.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://crocs.fi.muni.cz/_detail/public/thesis/comparison.png?id=public%3Athesis%3Akubicek2017&quot; class=&quot;media&quot; target=&quot;_blank&quot; title=&quot;public:thesis:comparison.png&quot; rel=&quot;noopener&quot;&gt;&lt;img src=&quot;https://crocs.fi.muni.cz/_media/public/thesis/comparison.png?w=800&amp;amp;tok=88afca&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;800&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
More important is the impact of the metaheuristics on cryptanalysis. The produced distinguisher is in form of simulated electronic circuit. This circuit can be analysed to find the source of non-randomness of the tested data. Formerly, the circuits were dense, hard to analyse. Guided local search metaheuristic forces the circuits to be sparser.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://crocs.fi.muni.cz/_detail/public/thesis/circuit.dot.png?id=public%3Athesis%3Akubicek2017&quot; class=&quot;media&quot; target=&quot;_blank&quot; title=&quot;public:thesis:circuit.dot.png&quot; rel=&quot;noopener&quot;&gt;&lt;img src=&quot;https://crocs.fi.muni.cz/_media/public/thesis/circuit.dot.png?w=400&amp;amp;tok=47a84d&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://crocs.fi.muni.cz/_detail/public/thesis/circuit.gls.png?id=public%3Athesis%3Akubicek2017&quot; class=&quot;media&quot; target=&quot;_blank&quot; title=&quot;public:thesis:circuit.gls.png&quot; rel=&quot;noopener&quot;&gt;&lt;img src=&quot;https://crocs.fi.muni.cz/_media/public/thesis/circuit.gls.png?w=400&amp;amp;tok=9790e1&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em&gt;The left circuit was produced by former metaheuristic in EACirc (iterated local search), the right was produced by guided local search.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
We can automatically remove unnecessary connectors from the circuits by pruning. This leads to the following circuits:
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://crocs.fi.muni.cz/_detail/public/thesis/pruned.ils.png?id=public%3Athesis%3Akubicek2017&quot; class=&quot;media&quot; target=&quot;_blank&quot; title=&quot;public:thesis:pruned.ils.png&quot; rel=&quot;noopener&quot;&gt;&lt;img src=&quot;https://crocs.fi.muni.cz/_media/public/thesis/pruned.ils.png?w=400&amp;amp;tok=70c25e&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://crocs.fi.muni.cz/_detail/public/thesis/pruned.gls.png?id=public%3Athesis%3Akubicek2017&quot; class=&quot;media&quot; target=&quot;_blank&quot; title=&quot;public:thesis:pruned.gls.png&quot; rel=&quot;noopener&quot;&gt;&lt;img src=&quot;https://crocs.fi.muni.cz/_media/public/thesis/pruned.gls.png?w=400&amp;amp;tok=cc407d&quot; class=&quot;media&quot; loading=&quot;lazy&quot; alt=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em&gt;The left circuit is pruned circuit produced by former metaheuristic in EACirc (iterated local search), the right was produced by guided local search.&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
The pruned circuit from guided local search is much easier to analyse, which reduce the needed time for manual cryptanalysis of the cryptoprimitives.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Results&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;results&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;2612-&amp;quot;} --&gt;</description>
    </item>
    <item rdf:about="https://crocs.fi.muni.cz/public/thesis/main">
        <dc:format>text/html</dc:format>
        <dc:date>2025-07-17T14:23:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>List of CRoCS theses</title>
        <link>https://crocs.fi.muni.cz/public/thesis/main</link>
        <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;list_of_crocs_theses&quot;&gt;List of CRoCS theses&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;div class=&quot;bs-wrap bs-callout bs-callout-primary&quot; style=&quot;border-left-color:&quot;&gt;If you have published thesis in cooperation with CRoCS, do not hesitate to state it here. In addition, you can create an overview page on the wiki with redirect.
&lt;/div&gt;&lt;div class=&quot;bs-wrap bs-callout bs-callout-info&quot; style=&quot;border-left-color:&quot;&gt;Please note that the thesis list is new and it is not complete.
&lt;/div&gt;
&lt;p&gt;
There is also a list of selected theses at &lt;a href=&quot;https://www.fi.muni.cz/research/crocs/top-theses.html.en&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;https://www.fi.muni.cz/research/crocs/top-theses.html.en&quot; rel=&quot;ugc nofollow noopener&quot;&gt;FI MUNI CRoCS&amp;#039;s home page&lt;/a&gt;.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;List of CRoCS theses&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;list_of_crocs_theses&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-463&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;section2017&quot;&gt;2017&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Karel Kubíček, supervisor Petr Švenda, opponent Martin Stehlík&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://crocs.fi.muni.cz/public/thesis/kubicek2017&quot; class=&quot;wikilink1&quot; title=&quot;public:thesis:kubicek2017&quot; data-wiki-id=&quot;public:thesis:kubicek2017&quot;&gt;Optimisation heuristics in randomness testing&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; Keywords: EACirc, randomness, metaheuristics&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;2017&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;section2017&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;464-&amp;quot;} --&gt;</description>
    </item>
</rdf:RDF>
