-

Note: You are currently viewing documentation for Moodle 3.10. Up-to-date documentation for the latest stable version of Moodle may be available here: admin/environment/php extension/sodium.

admin/environment/php extension/sodium

From MoodleDocs
Revision as of 12:21, 6 May 2021 by Eloy Lafuente (stronk7) (talk | contribs) (Some notes about php-sodium and current php-openssl fallback)


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 suboptimal, is used, and this fallback will stop working in a few versions (Moodle 4.2).

Hence, it's highly recommended to start using php-sodium.

Please see https://www.php.net/manual/book.sodium.php

Please see [1]