2 releases

Uses new Rust 2024

new 0.1.1 May 13, 2025
0.1.0 May 13, 2025

#2091 in Cryptography

Unlicense

11KB
110 lines

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.

No runtime deps