Expand description

sphincs-sha2-192s-simple

These bindings use the clean version from PQClean

Example

// if using pqcrypto-sphincsplus
use pqcrypto_sphincsplus::sphincssha2192ssimple::*;
// or if using the pqcrypto crate:
// use pqcrypto::sign::sphincssha2192ssimple::*;
let message = vec![0, 1, 2, 3, 4, 5];
let (pk, sk) = keypair();
let sm = sign(&message, &sk);
let verifiedmsg = open(&sm, &pk).unwrap();
assert!(verifiedmsg == message);

Structs

Functions