|
41 | 41 | "metadata": {}, |
42 | 42 | "outputs": [], |
43 | 43 | "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", |
46 | 46 | "\n", |
47 | | - "import org.cryptimeleon.math.structures.groups.elliptic.nopairing.Secp256k1;\n", |
| 47 | + "import org.cryptimeleon.math.structures.groups.elliptic.nopairing.*;\n", |
48 | 48 | "import org.cryptimeleon.math.structures.groups.lazy.*;\n", |
49 | 49 | "import org.cryptimeleon.math.hash.impl.SHA256HashFunction;\n", |
50 | 50 | "import org.cryptimeleon.math.structures.rings.zn.Zn;\n", |
|
57 | 57 | "import org.cryptimeleon.craco.protocols.arguments.fiatshamir.FiatShamirProofSystem;\n", |
58 | 58 | "\n", |
59 | 59 | "//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", |
62 | 62 | "var H2 = new SHA256HashFunction();\n", |
63 | 63 | "var jsonConverter = new JSONPrettyConverter(); //for serialization later\n", |
64 | 64 | "\n", |
|
0 commit comments