JUserHelper::hashPassword

Hashes a password using the current encryption.