https://github.com/mrshankly/erlang-paillier
NIF bindings for the libpaillier cryptographic library
https://github.com/mrshankly/erlang-paillier
cryptography erlang homomorphic-encryption paillier
Last synced: 2 months ago
JSON representation
NIF bindings for the libpaillier cryptographic library
- Host: GitHub
- URL: https://github.com/mrshankly/erlang-paillier
- Owner: mrshankly
- License: gpl-2.0
- Created: 2020-10-02T12:38:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-21T23:49:20.000Z (over 5 years ago)
- Last Synced: 2026-03-21T23:07:00.798Z (4 months ago)
- Topics: cryptography, erlang, homomorphic-encryption, paillier
- Language: C
- Homepage:
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# erlang-paillier
[](https://github.com/mrshankly/erlang-paillier/actions?query=workflow%3ACI)
[](https://hex.pm/packages/paillier)
This library provides NIF bindings for the [libpaillier] cryptographic library
for Erlang. The [libpaillier] library was develop by John Bethencourt.
This library was built for a research project and its code has not been
carefully analyzed for potential security flaws, and is not intended for use in
production-level code.
## Building
[GMP] is used for arbitrary precision arithmetic, you will need to have that
installed before building.
To build the library run `rebar3 compile`.
[libpaillier]: http://hms.isi.jhu.edu/acsc/libpaillier/
[GMP]: https://gmplib.org/
## Documentation
Online documentation is available [here](https://hexdocs.pm/paillier/paillier.html).
The API is straightforward, you can check the [`paillier.erl`](src/paillier.erl)
file or generate the documentation with `rebar3 edoc`.