Senhas de hash em yii 1
$hash = Yii::$app->getSecurity()->generatePasswordHash($password);
Lovely Lark
$hash = Yii::$app->getSecurity()->generatePasswordHash($password);