Camen Design Forum

How to change the user's password


This is no encryption.

No, it is a hash, not even a very secure one 😉

Your example is right, user `admin` would have their password stored in `c7ad44cbad762a5da0a452f9e854fdc1e0e7a52a38015f23f3eab1d80b931dd472634dfac71cd34ebc35d16ab7fb8a90c81f975113d6c7538dc69dd8de9077ec.txt`.

The password is hashed together with the username hash, using this code:

% from start.php
hash ('sha512', $name.PASS)

So if the user `admin` has the word `admin` as password this is hashed like:


I hope that explain it!


(Leave this as-is, it’s a trap!)

Only the original author or a moderator can append to this post.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn