diff options
| author | Andrej Bátora | 2023-12-12 11:04:16 +0100 |
|---|---|---|
| committer | Andrej Bátora | 2023-12-12 11:04:16 +0100 |
| commit | cf1554750043052a23879d9c34a5a2da8d9c33d2 (patch) | |
| tree | d7f26d3d98dc0b6fc4bb8d676bf01a597295133d | |
| parent | 8ed0f7e432d8cae4e0bb569bf991a42b34104f3f (diff) | |
| download | pyecsca-notebook-cf1554750043052a23879d9c34a5a2da8d9c33d2.tar.gz pyecsca-notebook-cf1554750043052a23879d9c34a5a2da8d9c33d2.tar.zst pyecsca-notebook-cf1554750043052a23879d9c34a5a2da8d9c33d2.zip | |
fixed ECDH
| -rw-r--r-- | emulator.ipynb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emulator.ipynb b/emulator.ipynb index 876bb00..fb9172e 100644 --- a/emulator.ipynb +++ b/emulator.ipynb @@ -296,7 +296,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "In order to emulate **ECDH** and **ECDSA** algorithms, the emulator needs private and public keys set. This is done by methods below." + "In order to emulate **ECDH** and **ECDSA** algorithms, the emulator needs private and public keys set. This can be done by methods below." ] }, { @@ -346,7 +346,7 @@ "metadata": {}, "outputs": [], "source": [ - "shared_secret = target.ecdh(other_pub)\n", + "shared_secret = target.ecdh(pub)\n", "print(\"shared secret:\", hexlify(shared_secret))" ] }, |
