[RFC] Libsodium
| From: | Scott Arciszewski | Date: | Thu, 07 Jan 2016 13:26:52 +0000 |
| Subject: | [RFC] Libsodium | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-90249@lists.php.net to get a copy of this message | ||
Hi everyone,
I've updated the RFC to make libsodium a core PHP extension in 7.1, to
include references to the online documentation.
https://wiki.php.net/rfc/libsodium
All new functions and classes would exist in the Sodium namespace. e.g.
$ciphertext = \Sodium\crypto_box($message, $nonce, $keypair);
This is part of an overall effort to improve PHP's cryptography; up
next will be the pluggable crypto API that supports multiple backends
(with a scope limited to openssl and libsodium at the time of release)
but always provide conservative defaults. Then I'd like to look at
deprecating ext/mcrypt back to PECL and add more hash functions to
ext/hash.
Scott Arciszewski
Chief Development Officer
Paragon Initiative Enterprises <https://paragonie.com>