Преглед изворни кода

added new speck CPA notebook #2

Hans Martin пре 3 година
родитељ
комит
d3f30340b0
1 измењених фајлова са 16 додато и 24 уклоњено
  1. 16 24
      simulation/speck_cpa_simulation.ipynb

+ 16 - 24
simulation/speck_cpa_simulation.ipynb

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