https://github.com/phlay/libeddsa
cryptographic library for ed25519 and curve25519
https://github.com/phlay/libeddsa
c cryptography ed25519 elliptic-curves x25519
Last synced: 11 months ago
JSON representation
cryptographic library for ed25519 and curve25519
- Host: GitHub
- URL: https://github.com/phlay/libeddsa
- Owner: phlay
- License: unlicense
- Created: 2014-12-06T14:28:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-11-14T12:50:02.000Z (over 2 years ago)
- Last Synced: 2025-04-11T13:21:05.640Z (about 1 year ago)
- Topics: c, cryptography, ed25519, elliptic-curves, x25519
- Language: C
- Size: 3.17 MB
- Stars: 24
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libeddsa
This is a small cryptographic library for signatures with [ed25519](http://ed25519.cr.yp.to/ed25519-20110705.pdf) and diffie-hellman key exchange with [x25519](http://cr.yp.to/ecdh/curve25519-20060209.pdf).
My goal is to give a fast, but still readable, C implemantation of these two crypto primitives without any complex framework. (If you need a full and easy to use framework with symmetric cipher and MAC included, please have a look at [libnacl](http://nacl.cr.yp.to) or [libsodium](https://github.com/jedisct1/libsodium) which are both great.)
If you need just ed25519-signatures or x25519-key-exchange with a simple API, however, libeddsa may be for you: It is small (under 90kb) and quite fast.
### Features:
- written in C
- fast and small
- cmake build system
- protection against timing attacks as far as possible in C
- static and dynamic link support
- easy to use (see wiki)
- public domain license