Function dryoc::classic::crypto_sign::crypto_sign_detached
source · pub fn crypto_sign_detached(
signature: &mut Signature,
message: &[u8],
secret_key: &SecretKey
) -> Result<(), Error>
Expand description
Signs message
, placing the signature into signature
upon success.
Detached variant of crypto_sign_open
.
This function is compatible with libsodiums
crypto_sign_detached, however the
ED25519_NONDETERMINISTIC` feature is not supported.