Crypt/GPG.php
public function encrypt($data, $armor = self::ARMOR_ASCII)
    {
        return $this->_encrypt($data, false, null, $armor);
    }
public function encrypt($data, $armor = self::ARMOR_ASCII)
    {
        return $this->_encrypt($data, false, null, $armor);
    }
Encrypts string data

Data is ASCII armored by default but may optionally be returned as
binary.

@param string  $data  the data to be encrypted.
@param boolean $armor optional. If true, ASCII armored data is returned;
otherwise, binary data is returned. Defaults to
true.

@return string the encrypted data.

@throws Crypt_GPG_KeyNotFoundException if no encryption key is specified.
See {@link Crypt_GPG::addEncryptKey()}.

@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.
Use the <kbd>debug</kbd> option and file a bug report if these
exceptions occur.

@sensitive $data