Environment - PHP extension sodium: Difference between revisions
From MoodleDocs
(Updated leading up to Moodle 4.2 release, where the extension becomes a requirement.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Environment}} | {{Environment}} | ||
The php-sodium extension provides strong encryption capabilities in an easy and consistent way | The php-sodium extension provides strong encryption capabilities in an easy and consistent way. | ||
Note that | Note that, for sites not having the extension installed, a php-openssl based solution, considered sub-optimal, is used, and this fallback will stop working in Moodle 4.2. See MDL-71421 for more details. | ||
See also | Hence, it's highly recommended to start using php-sodium. | ||
See also <nowiki>https://www.php.net/manual/book.sodium.php</nowiki> and <nowiki>https://py-ipv8.readthedocs.io/en/latest/preliminaries/install_libsodium/</nowiki> | |||
[[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:33, 20 April 2023
The php-sodium extension provides strong encryption capabilities in an easy and consistent way.
Note that, for sites not having the extension installed, a php-openssl based solution, considered sub-optimal, is used, and this fallback will stop working in Moodle 4.2. See MDL-71421 for more details.
Hence, it's highly recommended to start using php-sodium.
See also https://www.php.net/manual/book.sodium.php and https://py-ipv8.readthedocs.io/en/latest/preliminaries/install_libsodium/