[eluser]wiredesignz[/eluser]
Very clever thanks Elliot.
Personally I do use the encryption salt. (Thanks to Micheal Wales comments a while back)
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.
Code:
$users_account->hidden_pwd = str_repeat('*', strlen($this->encrypt->decode($users_account->password)));
I'm sure I could use your idea and still provide that functionality.