If you found the contents in this blog useful, then please make a donation to keep this blog running. You can make donations via Skrill with email address

Wednesday, July 20, 2011

Moodle Password Hash Structure

I was working with Moodle Learning Management System as part of my work
and was able to figure out the Hashing of passwords in moodle available in
users table. I am sure there are programmers who would want to know this.

Moodle uses MD5 Hashing to protect the passwords of the moodle users.

But it uses a salt value which is suffixed to the actual password before MD5 hashing algorithm being applied. Salt values are used to prevent Dictionary attacks. This salt value can be found in a file called config.php in the moodle file structure.

So the structure is MD5([Actual User Password] + [Salt Value])

Friday, July 1, 2011

First Class

After 4 years of determination and hard work, with the help of god I made to get a First Class Honours in my BSc (Hons) Software Engineering degree. Feels so happy and humble proud to have achieved this.

Once again Thanks to god.