code: def enc(data, **kwargs):
      '''
      Alias to `{box_type}_encrypt`
  
      box_type: secretbox, sealedbox(default)
      '''
      if 'keyfile' in kwargs:
          salt.utils.versions.warn_until(
              'Neon',
              'The \'keyfile\' argument has been deprecated and will be removed in Salt '
              '{version}. Please use \'sk_file\' argument instead.'
          )
          kwargs['sk_file'] = kwargs['keyfile']
  
      if 'key' in kwargs:
          salt.utils.versions.warn_until(
              'Neon',
              'The \'key\' argument has been deprecated and will be removed in Salt '
              '{version}. Please use \'sk\' argument instead.'
          )
          kwargs['sk'] = kwargs['key']
  
      box_type = _get_config(**kwargs)['box_type']
      if box_type == 'secretbox':
          return secretbox_encrypt(data, **kwargs)
      return sealedbox_encrypt(data, **kwargsf enc(data, **kwargs):
      '''
      Alias to `{box_type}_encrypt`
  
      box_type: secretbox, sealedbox(default)
      '''
      if 'keyfile' in kwargs:
          salt.utils.versions.warn_until(
              'Neon',
              'The \'keyfile\' argument has been deprecated and will be removed in Salt '
              '{version}. Please use \'sk_file\' argument instead.'
          )
          kwargs['sk_file'] = kwargs['keyfile']
  
      if 'key' in kwargs:
          salt.utils.versions.warn_until(
              'Neon',
              'The \'key\' argument has been deprecated and will be removed in Salt '
              '{version}. Please use \'sk\' argument instead.'
          )
          kwargs['sk'] = kwargs['key']
  
      box_type = _get_config(**kwargs)['box_type']
      if box_type == 'secretbox':
          return secretbox_encrypt(data, **kwargs)
      return sealedbox_encrypt(data, **kwargs)
docs: Alias to `{box_type}_encrypt`
  
      box_type: secretbox, sealedbox(default)