Module pqcrypto::sign::rainbowiiicircumzenithal [−][src]
Expand description
rainbowIII-circumzenithal
These bindings use the clean version from PQClean
Example
use pqcrypto_rainbow::rainbowiiicircumzenithal::*; 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
DetachedSignature | |
PublicKey | |
SecretKey | |
SignedMessage |
Functions
detached_sign | Create a detached signature on the message |
keypair | Generate a rainbowIII-circumzenithal keypair |
open | |
public_key_bytes | Get the number of bytes for a public key |
secret_key_bytes | Get the number of bytes for a secret key |
sign | Sign the message and return the signed message. |
signature_bytes | Get the number of bytes that a signature occupies |
verify_detached_signature | Verify the detached signature |