PHP 8.5.0 Alpha 4 available for testing

Voting

: nine minus six?
(Example: nine)

The Note You're Voting On

cb at dialogs dot com
5 years ago
For those(like me) confused by sodium_crypto_sign() vs. sodium_crypto_sign_detached()

From the libsodium docs https://libsodium.gitbook.io/doc/public-key_cryptography/public-key_signatures

The crypto_sign() function prepends a signature to a message "Combined mode"

In "detached mode" the signature is stored without attaching a copy of the original message to it.

<< Back to user notes page

To Top