From 765df7d7b2e5841101d852175f381c53f1eb90ba Mon Sep 17 00:00:00 2001 From: Bill Buchanan Date: Thu, 7 Apr 2022 13:43:34 +0100 Subject: [PATCH] Update README.md --- unit09_future/lab/README.md | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/unit09_future/lab/README.md b/unit09_future/lab/README.md index 3dafbc2..84e00d6 100644 --- a/unit09_future/lab/README.md +++ b/unit09_future/lab/README.md @@ -167,42 +167,7 @@ What are the main advantages of having a variable key size and having a stream c -### L4 -The ELLI method can be used to identify an RFID tag. - - -Can you run the following code and determine that it works (C and D should be the same)? Can you also explain how it works? - - - -```Python -from os import urandom -from eccsnacks.curve25519 import scalarmult, scalarmult_base -import binascii - -lamb = urandom(32) -a = scalarmult_base(lamb) - -eps = urandom(32) -b = scalarmult_base(eps) - -c = scalarmult(eps, a) - -d = scalarmult(lamb, b) - -print "RFID private key: ",binascii.hexlify(eps) - -print "Reader private key: ",binascii.hexlify(lamb) - -print -print "A value: ",binascii.hexlify(a) -print "B value: ",binascii.hexlify(b) - -print "C value: ",binascii.hexlify(c) -print "D value: ",binascii.hexlify(d) -``` -Repl.it: https://repl.it/@billbuchanan/elli ## 3 Zero-knowledge proof (ZKP)