Encryption used in moodle to store the password created in the database

Encryption used in moodle to store the password created in the database

by Supratim Nandi -
Number of replies: 2
Currently we are shifting to a new SSO & Password self service for our Moodle Learing Management system.For that purpose we need to change the password field in the database itself but first we need to know what encryption does this password use so that  we can develop a connector .


For information:we are using Moodle with wamp stack

Average of ratings: -
In reply to Supratim Nandi

Re: Encryption used in moodle to store the password created in the database

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Passwords are not encrypted, they are hashed, using the standard PHP function password_hash(). See hash_internal_user_password() in lib/Moodle lib.php for details.