Go to file
Orson Peters ce65aa7715 more docs
2013-01-22 11:07:11 +01:00
src docs 2013-01-22 11:04:36 +01:00
ed25519.dll more work - documentation o.0 2013-01-22 10:58:57 +01:00
readme.md more docs 2013-01-22 11:07:11 +01:00
test.c more work - documentation o.0 2013-01-22 10:58:57 +01:00

Ed25519

This is a portable implementation of Ed25519. All code is in the public domain.

No code uses libc, except for the random seed generation which uses standard OS cryptography APIs. If you wish to be entirely portable define ED25519_NO_SEED. This does disable the ed25519_create_seed function however.

Usage

Simply add all .c and .h files in the src/ folder to your project and include ed25519.h. If you prefer to use a shared library, only copy ed25519.h and define ED25519_DLL before importing. A windows DLL is pre-built.

The API is simple:

int ED25519_DECLSPEC ed25519_create_seed(unsigned char *seed);