Browse Source

added new speck CPA notebook #2

Hans Martin 3 years ago
parent
commit
d3f30340b0
1 changed files with 16 additions and 24 deletions
  1. 16 24
      simulation/speck_cpa_simulation.ipynb

+ 16 - 24
simulation/speck_cpa_simulation.ipynb

@@ -56,7 +56,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "49463c5b",
+   "id": "91c9c457",
    "metadata": {},
    "source": [
     "## Speck Implementation\n",
@@ -135,7 +135,7 @@
   {
    "cell_type": "code",
    "execution_count": 71,
-   "id": "dcc0e245",
+   "id": "041dc206",
    "metadata": {},
    "outputs": [],
    "source": [
@@ -264,7 +264,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "771dc7cc",
+   "id": "4e8badc1",
    "metadata": {},
    "source": [
     "# Simulation"
@@ -272,7 +272,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "2d56be14",
+   "id": "75460b07",
    "metadata": {},
    "source": [
     "The following code simulates the Speck encryption process for an randomly choosen plaintext and the choosen key: **0x69**."
@@ -280,7 +280,7 @@
   },
   {
    "cell_type": "markdown",
-   "id": "1a786e80",
+   "id": "7bff0348",
    "metadata": {},
    "source": [
     "It correlates 1000 encryptions for random plaintext and correlates them for execution with every possible keybyte"
@@ -340,25 +340,17 @@
    ]
   },
   {
-   "cell_type": "code",
-   "execution_count": null,
-   "id": "3d7a82e9",
-   "metadata": {},
-   "outputs": [],
-   "source": []
-  },
-  {
-   "cell_type": "code",
-   "execution_count": null,
-   "id": "973fb6fa",
+   "cell_type": "markdown",
+   "id": "122ee027",
    "metadata": {},
-   "outputs": [],
-   "source": []
+   "source": [
+    "### $\\rightarrow$ Dafuq, at least something seems to w0rk"
+   ]
   },
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "3de74cba",
+   "id": "a5aefe26",
    "metadata": {},
    "outputs": [],
    "source": []
@@ -366,7 +358,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "3fdeaf59",
+   "id": "f1a63a79",
    "metadata": {},
    "outputs": [],
    "source": []
@@ -374,7 +366,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "440f34b1",
+   "id": "55b6e82d",
    "metadata": {},
    "outputs": [],
    "source": []
@@ -382,7 +374,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "97350aef",
+   "id": "12572ea5",
    "metadata": {},
    "outputs": [],
    "source": []
@@ -390,7 +382,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "73f3d3bb",
+   "id": "0dc611ae",
    "metadata": {},
    "outputs": [],
    "source": []
@@ -398,7 +390,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "383e2448",
+   "id": "254984a3",
    "metadata": {},
    "outputs": [],
    "source": []