public function encode( $password, $salt = null )
	{
		return ( isset( $this->hasher ) ? $this->hasher->getHashedPassword( $password, $salt ) : $password );
	}
public function encode( $password, $salt = null )
	{
		return ( isset( $this->hasher ) ? $this->hasher->getHashedPassword( $password, $salt ) : $password );
	}
public function encode ( $ password , $ salt = null ) { return ( isset ( $ this -> hasher ) ? $ this -> hasher -> getHashedPassword ( $ password , $ salt ) : $ password ) ; }
Returns the hashed password.

@param string $password Clear text password string
@param string|null $salt Password salt
@return string Hashed password
Returns the hashed password .