(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_sign_detached — Sign the message
$message
$secret_key
Sign a message with a secret key, that can be verified by the corresponding public key. This function returns a detached signature.
message
secret_key
Cryptographic signature.