public function encrypt($input, $base = 10, $pad = false, $password = null, $iv = null)
    {
        return $this->_encryptInternal($input, $base, $pad, $password, $iv, true);
    }
public function encrypt($input, $base = 10, $pad = false, $password = null, $iv = null)
    {
        return $this->_encryptInternal($input, $base, $pad, $password, $iv, true);
    }
public function encrypt ( $ input , $ base = 10 , $ pad = false , $ password = null , $ iv = null ) { return $ this -> _encryptInternal ( $ input , $ base , $ pad , $ password , $ iv , true ) ; }
Encrypts input data. Acts as a public alias for _encryptInternal method.

@param string      $input    String representation of input number.
@param int         $base     Input number base.
@param bool        $pad      Pad left with zeroes?
@param string|null $password Encryption password.
@param string|null $iv       Encryption initialization vector. Must be unique!

@return string Outputs encrypted data in the same format as input data.
Encrypts input data . Acts as a public alias for _encryptInternal method .