note 124998 added to function.sodium-crypto-sign-detached
| From: | cb at dialogs dot com | Date: | Tue, 12 May 2020 13:06:32 +0000 |
| Subject: | note 124998 added to function.sodium-crypto-sign-detached | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-214610@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 45.112.84.4
Probable Submitter: 38.142.137.34 (proxied: 2601:58c:407f:2530:5d53:aa21:cd15:66ae)
----
Manual Page -- http://php.net/manual/en/function.sodium-crypto-sign-detached.php
Edit -- https://master.php.net/note/edit/124998
Del: integrated -- https://master.php.net/note/delete/124998/integrated
Del: useless -- https://master.php.net/note/delete/124998/useless
Del: bad code -- https://master.php.net/note/delete/124998/bad+code
Del: spam -- https://master.php.net/note/delete/124998/spam
Del: non-english -- https://master.php.net/note/delete/124998/non-english
Del: in docs -- https://master.php.net/note/delete/124998/in+docs
Del: other reasons-- https://master.php.net/note/delete/124998
Reject -- https://master.php.net/note/reject/124998
Search -- https://master.php.net/manage/user-notes.php