code: def transit_encrypt_data(self, name, plaintext, context=None, key_version=None, nonce=None, batch_input=None,
                               key_type=None, convergent_encryption=None, mount_point='transit'):
          
          url = '/v1/{0}/encrypt/{1}'.format(mount_point, name)
          params = {
              'plaintext': plaintext
          }
          if context is not None:
              params['context'] = context
          if key_version is not None:
              params['key_version'] = key_version
          if nonce is not None:
              params['nonce'] = nonce
          if batch_input is not None:
              params['batch_input'] = batch_input
          if key_type is not None:
              params['type'] = key_type
          if convergent_encryption is not None:
              params['convergent_encryption'] = convergent_encryption
  
          return self._adapter.post(url, json=params).json()
docs: POST /<mount_point>/encrypt/<name>
  
          :param name:
          :type name:
          :param plaintext:
          :type plaintext:
          :param context:
          :type context:
          :param key_version:
          :type key_version:
          :param nonce:
          :type nonce:
          :param batch_input:
          :type batch_input:
          :param key_type:
          :type key_type:
          :param convergent_encryption:
          :type convergent_encryption:
          :param mount_point:
          :type mount_point:
          :return:
          :rtype: