sphincs-plus-cry4

Crates.iosphincs-plus-cry4
lib.rssphincs-plus-cry4
version0.1.1
sourcesrc
created_at2022-06-07 18:12:23.374435
updated_at2022-06-07 23:02:05.501295
descriptionImplementation of the SPHINCS+ post-quantum signature scheme
homepage
repositoryhttps://github.com/CRY4-Hash-Based-Signatures/SPHINCS-PLUS
max_upload_size
id601622
size97,210
(DeadViolets)

documentation

README

SPHINCS-PLUS

Implementation of the hash based signature scheme SPHINCS+ in Rust. SPHINCS+ is a post-quantum signature scheme, submitted to the NIST-PQ competition. For more information visit: https://sphincs.org/

Usage

use sphincs_plus_cry4::{Spx, Spx128fBlakeR};
let message = b"Hi there!";

let spx_instance = Spx::<Spx128fBlakeR>::new(true);
let (sk, pk) = spx_instance.keygen();

let sig = spx_instance.sign(message, &sk);
spx_instance.verify(message, sig, &pk);

Benchmark

To build the benchmark file run:

cargo build --features build-binary --bin benchmark
Commit count: 6

cargo fmt