code: def encrypt_encoded(self, encoding, r_value):
          
          # If r_value is None, obfuscate in a call to .obfuscate() (below)
          obfuscator = r_value or 1
          ciphertext = self.raw_encrypt(encoding.encoding, r_value=obfuscator)
          encrypted_number = EncryptedNumber(self, ciphertext, encoding.exponent)
          if r_value is None:
              encrypted_number.obfuscate()
          return encrypted_number
docs: Paillier encrypt an encoded value.
  
          Args:
            encoding: The EncodedNumber instance.
            r_value (int): obfuscator for the ciphertext; by default (i.e.
              if *r_value* is None), a random value is used.
  
          Returns:
            EncryptedNumber: An encryption of *value*.