Commit b1a1f1d2 authored by Anders Jensen Løvig's avatar Anders Jensen Løvig
Browse files

Update README.md

parent 292ef52a
......@@ -17,9 +17,9 @@ For the implementation we have implemented support packages which can be reused:
1. For the security parameters we choose 200-bit p, 10^6-bit q, 40-bit r and 1000 elements in the public key. We choose those values
because they improve the performance of the scheme, and everything still works.
2. In the homomorphic encryption scheme, we need to choose a subset S. We do this by shuffling a list containing the numbers [1,...,n]
and then chooses the k first numbers in the list, where k is a random integer in the range [1,...,n). This was we always add at least
some noise to the encryption.
2. In the homomorphic encryption scheme, we need to choose a random subset S. We do this by shuffling a list containing the numbers [1,...,n]
and then choosing the k first numbers in the list, where k is a random integer in the range [1,...,n). This ensures we always add some
noise to the encryption.
## Requirements
......@@ -29,7 +29,7 @@ The protocol is tested using [Go 1.17](https://golang.org/dl/), but will likely
You can run the tests with go:
```
go test ./cmd/handin5
go test ./cmd/handin6
```
This executes the protocol tests. This includes a test that tries the protocol on all combinations of recipient and donor blood types.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment