Pasadas de hash en YII 1

$hash = Yii::$app->getSecurity()->generatePasswordHash($password);
Lovely Lark