cargo::util::credential::paseto

Function paserk_public_from_paserk_secret

Source
pub(crate) fn paserk_public_from_paserk_secret(
    secret_key: Secret<&str>,
) -> Option<String>
Expand description

Checks that a secret key is valid, and returns the associated public key in Paserk format.