Change encryption algorithm for Lizmap user DB (PostgreSQL)

Hi all!
I need to change the encryption algorithm for Lizamp user passwords from sha1 to sha256. I tried to follow what is indicated in this comment (change the value of password_crypt_function into the Db section of the file lizmap/var/config/index/auth.coord.ini.php and lizmap/var/config/admin/auth.coord.ini.php) but it does not work, Lizmap seems to ignore the changes. Are there other configurations to change?

Thanks in advance!
Roberta

can you try to change the value also in lizmap/app/system/admin/ auth.coord.ini.php file ?

Yes I have already modified the lizmap/app/system/admin/ auth.coord.ini.php file but I got this error:

Call to undefined function sha256()	/home/procedure/mappenew2/lizmap/vendor/jelix/jelix/lib/jelix/auth/jAuthDriverBase.class.php	57