Strips the secret seed, leaving only what a verifier needs. Publish
this; never the object returned by
pqc_keygen().
Arguments
- key
A
bricklayer_signing_keyfrompqc_keygen().
Examples
key <- pqc_keygen(height = 2)
pub <- signing_public_key(key)
# The secret seed is gone.
is.null(pub$sk_seed)
#> [1] TRUE
# And verification works from the public half alone.
sig <- capsule_sign("manifest-digest", key)
capsule_verify("manifest-digest", sig, pub)
#> [1] TRUE