sodium_crypto_sign_detached — Sign the message
$message, string $secret_key): stringSign a message with a secret key, that can be verified by the corresponding public key. This function returns a detached signature.
messageMessage to sign.
secret_keySecret key. See sodium_crypto_sign_secretkey()
Cryptographic signature.