Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ldsec/lattigo-polls-demo
https://github.com/ldsec/lattigo-polls-demo
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ldsec/lattigo-polls-demo
- Owner: ldsec
- Created: 2020-12-01T20:06:54.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-02T08:50:42.000Z (about 2 years ago)
- Last Synced: 2024-04-08T05:35:04.476Z (7 months ago)
- Language: Go
- Size: 3.18 MB
- Stars: 24
- Watchers: 8
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-he - lattigo-polls - Web-application for scheduling meetings using [lattigo](#lattigo). (Applications)
README
# Lattigo-polls-demo
This is a demo program for the [Lattigo](https://github.com/ldsec/lattigo) homomorphic encryption library.
It consist in a web-application for scheduling meetings, where the poll-result is computed homomorphically.
The both the server and client are implemented with the `github.com/ldsec/lattigo` library.
In order to run on the client's web-browser, the client-side code is compiled in WebAssembly and is fetched by the client web-browser on page load.## Running the server
The following sequence of command will download the source-code, compile the client application and start the server.
```
git clone https://github.com/ldsec/lattigo-polls-demo
cd lattigo-polls-demo
make
cd server
go run server.go
```Once the server is running, the web interface should be accessible at [http://localhost:8080/polls](http://localhost:8080/polls).