public static function isLibsodiumSetupCorrectly(bool $echo = false): bool
    {
        if (!\extension_loaded('sodium')) {
            if ($echo) {
                echo "You do not have the sodium extension enabled.\n";
            }
            return false;
        }

        // Require libsodium 1.0.15
        $major = \SODIUM_LIBRARY_MAJOR_VERSION;
        if ($major < 10) {
            if ($echo) {
                echo 'Halite needs libsodium 1.0.15 or higher. You have: ',
                \SODIUM_LIBRARY_VERSION, "\n";
            }
            return false;
        }
        return true;
    }