public function preparePassword()
    {
        $this->{$this->securePasswordField} = crypt(
            $this->{$this->securePasswordField},
            '$2y$10$' . sha1(microtime() . $this->username . $this->email) . '$'
        );
    }
public function preparePassword()
    {
        $this->{$this->securePasswordField} = crypt(
            $this->{$this->securePasswordField},
            '$2y$10$' . sha1(microtime() . $this->username . $this->email) . '$'
        );
    }
public function preparePassword ( ) { $ this -> { $ this -> securePasswordField } = crypt ( $ this -> { $ this -> securePasswordField } , '$2y$10$' . sha1 ( microtime ( ) . $ this -> username . $ this -> email ) . '$' ) ; }
Crypts the users password.
Crypts the users password .