Skip to content

Commit 111e45c

Browse files
author
Jan Bobolz
authored
Fixed typos
1 parent 05578b9 commit 111e45c

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

getting-started/implement-elgamal.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ mathjax: true
44
tpc: true
55
---
66

7-
In this document, we show to to use the Cryptimeleon Craco and Cryptimeleon Math library to implement an example scheme, the Elgamal encryption scheme [Elg85].
8-
Compared to the other tutorials, we also aim to showcase the class structure for a full implementatio (as opposed to "just" a toy implementation).
7+
In this document, we show how to use the Cryptimeleon Craco and Cryptimeleon Math library to implement an example scheme, the Elgamal encryption scheme [Elg85].
8+
Compared to the other tutorials, we also aim to showcase the class structure for a full implementation (as opposed to "just" a toy implementation).
99

1010
First, let's review how ElGamal encryption works:
1111

@@ -75,15 +75,12 @@ public static void main(String[] args) {
7575
}
7676
```
7777

78-
To follow along, check out [https://github.com/cryptimeleon/java-demo](our Java demo project) and create a new class `ElGamalEncryptionScheme` as outlined above.
79-
8078
## Implementing the Scheme fully with data classes and interfaces
8179
Even though the implementation above can be considered complete, you may want to properly encapsulate the artifacts (keys, ciphertexts, etc.) into corresponding data classes.
8280
For a simple construction such as ElGamal, this is a somewhat useless exercise. However, for larger constructions with more complicated key structures, this step makes a lot of sense.
8381
For this reason, we showcase this step here.
8482

85-
We assume you have set up a new project in your IDE already, and added Craco as a dependency.
86-
Craco already includes the math library so you don't need to add that explicitly.
83+
To follow along, check out [our Java demo project](https://github.com/cryptimeleon/java-demo) and create a new class `ElGamalEncryptionScheme` as outlined above.
8784

8885
To represent the different parts of the scheme, we start off by creating some classes.
8986

0 commit comments

Comments
 (0)