src/Security/AuthenticationManager.php
public function HashUserPassword(\Puzzlout\Framework\BO\F_user $user) {
        $user->setF_user_salt($user->F_user_password_is_hashed() ? $user->F_user_salt() : \Puzzlout\Framework\Utility\UUID::v4());
        $user->setF_user_password($this->app->security()->HashValue($user->F_user_salt(), $user->F_user_password()));
        $user->setF_user_password_is_hashed(1);
        return $user;
    }
public function HashUserPassword(\Puzzlout\Framework\BO\F_user $user) {
        $user->setF_user_salt($user->F_user_password_is_hashed() ? $user->F_user_salt() : \Puzzlout\Framework\Utility\UUID::v4());
        $user->setF_user_password($this->app->security()->HashValue($user->F_user_salt(), $user->F_user_password()));
        $user->setF_user_password_is_hashed(1);
        return $user;
    }
public function HashUserPassword ( \ Puzzlout \ Framework \ BO \ F_user $ user ) { $ user -> setF_user_salt ( $ user -> F_user_password_is_hashed ( ) ? $ user -> F_user_salt ( ) : \ Puzzlout \ Framework \ Utility \ UUID :: v4 ( ) ) ; $ user -> setF_user_password ( $ this -> app -> security ( ) -> HashValue ( $ user -> F_user_salt ( ) , $ user -> F_user_password ( ) ) ) ; $ user -> setF_user_password_is_hashed ( 1 ) ; return $ user ; }
Retrieve the hash of the user password.
@param \Puzzlout\Framework\BO\F_user $user
@return \Puzzlout\Framework\BO\F_user
Retrieve the hash of the user password .