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: ...@@ -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 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. 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] 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 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 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
some noise to the encryption. noise to the encryption.
## Requirements ## Requirements
...@@ -29,11 +29,11 @@ The protocol is tested using [Go 1.17](https://golang.org/dl/), but will likely ...@@ -29,11 +29,11 @@ The protocol is tested using [Go 1.17](https://golang.org/dl/), but will likely
You can run the tests with go: 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. This executes the protocol tests. This includes a test that tries the protocol on all combinations of recipient and donor blood types.
To run all tests in the repository (could take some time): To run all tests in the repository (could take some time):
``` ```
go test ./... go test ./...
``` ```
\ No newline at end of file
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