diff options
| -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))" ] }, |
