sodium_crypto_sign_detached
(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_sign_detached — Sign the message
Description
function sodium_crypto_sign_detached(string
$message, #[\SensitiveParameter] 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.
Return Values
Cryptographic signature.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
