Environment - PHP extension sodium: Difference between revisions
From MoodleDocs
m (French link) |
(Updated leading up to Moodle 4.2 release, where the extension becomes a requirement.) |
||
Line 1: | Line 1: | ||
{{Environment}} | {{Environment}} | ||
The php-sodium extension provides strong encryption capabilities in an easy and consistent way. This extension is required from Moodle 4.2. | |||
Note that it is still highly recommended to use php-sodium in Moodle 3.11, 4.0 and 4.1, which also support the extension. Sites which do not have this extension installed use a php-openssl based solution as a fallback, which is considered sub-optimal. See MDL-71421 for more details. | |||
See also [https://www.php.net/manual/book.sodium.php https://www.php.net/manual/book.sodium.php] and https://py-ipv8.readthedocs.io/en/latest/preliminaries/install_libsodium/ | See also [https://www.php.net/manual/book.sodium.php https://www.php.net/manual/book.sodium.php] and https://py-ipv8.readthedocs.io/en/latest/preliminaries/install_libsodium/ | ||
[[Category:Environment|PHP]] | [[Category:Environment|PHP]] | ||
[[es:admin/environment/php extension/sodium]] | [[es:admin/environment/php extension/sodium]] | ||
[[fr:admin/environment/php extension/sodium]] | [[fr:admin/environment/php extension/sodium]] |
Revision as of 05:31, 20 April 2023
The php-sodium extension provides strong encryption capabilities in an easy and consistent way. This extension is required from Moodle 4.2.
Note that it is still highly recommended to use php-sodium in Moodle 3.11, 4.0 and 4.1, which also support the extension. Sites which do not have this extension installed use a php-openssl based solution as a fallback, which is considered sub-optimal. See MDL-71421 for more details.
See also https://www.php.net/manual/book.sodium.php and https://py-ipv8.readthedocs.io/en/latest/preliminaries/install_libsodium/