Skip to content

Commit 70c4aed

Browse files
author
Jan Bobolz
authored
Merge pull request #38 from cryptimeleon/protocol-fix
Updated protocol tutorial to 3.+
2 parents 7f5ee52 + b0742fc commit 70c4aed

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

getting-started/protocols-tutorial.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
"metadata": {},
4242
"outputs": [],
4343
"source": [
44-
"%maven org.cryptimeleon:math:2.+\n",
45-
"%maven org.cryptimeleon:craco:2.+\n",
44+
"%maven org.cryptimeleon:math:3.+\n",
45+
"%maven org.cryptimeleon:craco:3.+\n",
4646
"\n",
47-
"import org.cryptimeleon.math.structures.groups.elliptic.nopairing.Secp256k1;\n",
47+
"import org.cryptimeleon.math.structures.groups.elliptic.nopairing.*;\n",
4848
"import org.cryptimeleon.math.structures.groups.lazy.*;\n",
4949
"import org.cryptimeleon.math.hash.impl.SHA256HashFunction;\n",
5050
"import org.cryptimeleon.math.structures.rings.zn.Zn;\n",
@@ -57,8 +57,8 @@
5757
"import org.cryptimeleon.craco.protocols.arguments.fiatshamir.FiatShamirProofSystem;\n",
5858
"\n",
5959
"//Set up group and generate key\n",
60-
"var group = new LazyGroup(new Secp256k1()); \n",
61-
"var H1 = new HashIntoLazyGroup(new Secp256k1.HashIntoSecp256k1(), group);\n",
60+
"var group = new Secp256k1(); \n",
61+
"var H1 = new HashIntoSecp256k1();\n",
6262
"var H2 = new SHA256HashFunction();\n",
6363
"var jsonConverter = new JSONPrettyConverter(); //for serialization later\n",
6464
"\n",

0 commit comments

Comments
 (0)