sodium_crypto_sign
Sign a message
Description
string sodium_crypto_sign(string $message
, #[\SensitiveParameter]string $secret_key
)
Parameters
-
message
-
Message to sign.
-
secret_key
-
Secret key. See sodium_crypto_sign_secretkey
Return Values
Signed message (not encrypted).