note 130315 added to function.sodium-crypto-kx-server-session-keys
| From: | watung@gmail.com | Date: | Sun, 25 May 2025 13:31:36 +0000 |
| Subject: | note 130315 added to function.sodium-crypto-kx-server-session-keys | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-222165@lists.php.net to get a copy of this message | ||
I propose adding optional hash algorithm selection to sodium_crypto_kx_* functions, allowing
developers to choose between BLAKE2b (current default), SHA-256, or other standardized KDFs. This
would improve interoperability with systems like Web Crypto API that use different key derivation
approaches, while maintaining backward compatibility. A parameter like $options['hash']
could specify the algorithm, making Libsodium more flexible for cross-platform cryptography without
sacrificing security.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 118.99.80.212)
----
Manual Page -- https://php.net/manual/en/function.sodium-crypto-kx-server-session-keys.php
Edit -- https://main.php.net/note/edit/130315
Del: integrated -- https://main.php.net/note/delete/130315/integrated
Del: useless -- https://main.php.net/note/delete/130315/useless
Del: bad code -- https://main.php.net/note/delete/130315/bad+code
Del: spam -- https://main.php.net/note/delete/130315/spam
Del: non-english -- https://main.php.net/note/delete/130315/non-english
Del: in docs -- https://main.php.net/note/delete/130315/in+docs
Del: other reasons-- https://main.php.net/note/delete/130315
Reject -- https://main.php.net/note/reject/130315
Search -- https://main.php.net/manage/user-notes.php