Function dryoc::classic::crypto_sign::crypto_sign_open

source ·
pub fn crypto_sign_open(
    message: &mut [u8],
    signed_message: &[u8],
    public_key: &PublicKey
) -> Result<(), Error>
Expand description

Verifies the signature of signed_message, placing the result into message. The length of message should be the length of the signed message minus CRYPTO_SIGN_BYTES.

This function is compatible with libsodiums crypto_sign_open, however the ED25519_NONDETERMINISTIC` feature is not supported.