Kata sandi hashing di Yii 1

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