Made as part of the Advanced Cryptography course at École polytechnique, by Prof. Benjamin Smith.
Author: Thomas Sauvage.
- I implemented Multiexponentiation with Straus’ algorithm. See the
straus_multiexponentiationfunction insrc/ed25519/points.rs.
- See the doc :
cargo run --bin keygen -- --help
cargo run --bin sign -- --help
cargo run --bin verify -- --help- You can also build the app with the following command, the executable will be at
target/release
cargo build --release
cd target/releasecargo run --bin keygen examples/key
cargo run --bin sign examples/key.sk README.md examples/README_sig
cargo run --bin verify examples/key.pk README.md examples/README_sig- Launch automated tests:
cargo test --releaseNote: This test runs more than a 4000 signatures and verifications so it may take some time (5.5s on my machine).