How to fix «Undefined offset: 2 in vendor/magento/framework/Encryption/Encryptor.php on line 588» in Magento 2.3.2?

You need to install the PHP sodium extension.

For PHP FPM 7.1 in Debian/Ubuntu:

apt-get install php7.1-sodium
service php7.1-fpm restart