lib25519-sys

Crates.iolib25519-sys
lib.rslib25519-sys
version0.1.1
created_at2025-05-13 21:19:49.136618+00
updated_at2025-05-13 21:26:24.366866+00
descriptionRust Bindings for lib25519
homepage
repositoryhttps://github.com/georgio/lib25519-sys
max_upload_size
id1672537
size40,459
Georgio Nicolas (georgio)

documentation

README

lib25519-sys

Rust Bindings for lib25519.

Very fast.

More details about this library here: https://lib25519.cr.yp.to

How to Use

I've written a few tests and benchmarks. You can base yourself off of these to use the library.

Make sure you know what you're doing when you use this, otherwise it's recommended that you use curve25519_dalek.

Prerequisites

You have to install lib25519 on your computer. Installation instructions can be found here: https://lib25519.cr.yp.to/install.html

Building

cargo build --release

You can modify the parameter in build.rs to help rustc locate lib25519 after installing it if it is not installed under usr/local/lib.

Benchmarks

cargo bench

Tests

cargo test

I will add a standard test suite at some point.

Credits

Daniel J. Bernstein and everyone from this list.

Commit count: 3

cargo fmt