Environment - PHP extension sodium

From MoodleDocs
Revision as of 12:24, 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]