Base64 encoding in Moodle?

Base64 encoding in Moodle?

by Deleted user -
Number of replies: 1

Dear All,

I am using Moodle 2.4 and using an external postgresql database for authenticating users. The only problem is that the password format for the external database is base64 and it looks like it does not exist in the options provided by Moodle. Is there any way that it can be added?

Regards,

George

Average of ratings: -
In reply to Deleted user

Re: Base64 encoding in Moodle?

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

base64 encoding is a dangerously insecure way to store a password. Do you users a favour, and fix the external system to use a proper one-way hash designed for authentication (e.g. bcrypt).