parameters: (self, bytes)
return_statement: return encBytes
docstring: Encrypt the passed-in bytes.
  
          This performs PKCS1 encryption of the passed-in data.
  
          @type bytes: L{array.array} of unsigned bytes
          @param bytes: The value which will be encrypted.
  
          @rtype: L{array.array} of unsigned bytes.
          @return: A PKCS1 encryption of the passed-in data.
docstring_summary: Encrypt the passed-in bytes.
docstring_tokens: Encrypt the passed - in bytes .
function: def encrypt(self, bytes):
          """Encrypt the passed-in bytes.
  
          This performs PKCS1 encryption of the passed-in data.
  
          @type bytes: L{array.array} of unsigned bytes
          @param bytes: The value which will be encrypted.
  
          @rtype: L{array.array} of unsigned bytes.
          @return: A PKCS1 encryption of the passed-in data.
          """
          paddedBytes = self._addPKCS1Padding(bytes, 2)
          m = bytesToNumber(paddedBytes)
          if m >= self.n:
              raise ValueError()
          c = self._rawPublicKeyOp(m)
          encBytes = numberToBytes(c)
          return encBytes
function_tokens: def encrypt ( self , bytes ) : paddedBytes = self . _addPKCS1Padding ( bytes , 2 ) m = bytesToNumber ( paddedBytes ) if m >= self . n : raise ValueError ( ) c = self . _rawPublicKeyOp ( m ) encBytes = numberToBytes ( c ) return encBytes