I use Yii Framework in PHP, and to encrypt password in database, I use :
$pass = CPasswordHelper::hashPassword ($this->newPassword);
To verify password match, I use :
if (!CPasswordHelper::verifyPassword($this->currentPassword,$this->_user->passwd)) {
...
}
Now, I have to send encrypted password from Android device. I should send it without encryptation and process it with PHP, but it doesn't seem so secure send clean password.
So, is there a way in Android to encrypt pass the same way CPasswordHelper does???? [ The thing is I don't really know exactly what encryptation / hash is applied in PHP ]
Any Help will be appreciated!
Tx