Expand description

sphincs-shake-128f-simple

These bindings use the clean version from PQClean

Example

// if using pqcrypto-sphincsplus
use pqcrypto_sphincsplus::sphincsshake128fsimple::*;
// or if using the pqcrypto crate:
// use pqcrypto::sign::sphincsshake128fsimple::*;
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