[eluser]Negligence[/eluser]
[quote author="wiredesignz" date="1203098597"]Very clever thanks Elliot.
But I still like to display a string of * equivalent to the length of the real user password in the user account editor, this requires encrypt->decode to work.[/quote]
No it doesn't. Store an extra field that records the string length of the user's password, and display that. Update it whenever the user changes their password.
Always encrypt passwords with a salt, ALWAYS. This shouldn't even be debatable!