UiPath Documentation
activities
latest
false

Actividades de desarrollador

Última actualización 21 de abr. de 2026

Descifrar archivo

UiPath.Cryptography.Activities.DecryptFile

Descripción

Descifra un archivo basándose en una codificación de clave y un algoritmo especificados.

Compatibilidad de proyectos

Windows - Heredado | Windows | Multiplataforma

Windows, configuración multiplataforma

  • Archivo : el archivo que se va a descifrar, almacenado como una variable IResource . Selecciona el signo Más Imagen de documentos para cambiar a la entrada Ruta de entrada .
  • Algorithm - A drop-down menu which enables you to select the decryption algorithm you want to use. The following options are available: AES (Deprecated), AES GCM, DES (Deprecated), RC2 (Non-FIPS) (Deprecated), Rijndael (Non-FIPS) (Deprecated), and TripleDES.
  • Key - The key that you want to use to decrypt the specified file. This field supports only strings and String variables.
Opciones avanzadas

Opciones

  • Key Encoding - The encoding used to interpret the key specified in the Key property. This field supports only Encoding variables. The following options are available: System default, Unicode, Unicode (Big-Endian), Unicode (UTF-32), Unicode (UTF-32 Big-Endian), US-ASCII, Western European (ISO), and Unicode (UTF-8).
  • Output file name and location - The path where you want to save the decrypted file. This field supports only strings and String variables.
    Nota:

    Se recomiendan las rutas de carpeta relativas para tener en cuenta las diferentes estructuras de archivos entre máquinas Windows y Linux al ejecutar un proyecto. Una ruta relativa sigue el formato newFolder/newFileName.enc. La actividad crea la carpeta de destino si aún no existe.

  • Overwrite - If a file already exists, selecting On overwrites it. If the toggle is set to Off, a new file is created. The default value is Off.
  • ContinuarEnCasoDeError: especifica si la automatización debe continuar incluso cuando la actividad arroja un error. Este campo solo admite valores booleans (True, False). El valor predeterminado es False. Por lo tanto, si el campo está vacío y se produce un error, se detiene la ejecución del proyecto. Si el valor es True, la ejecución del proyecto continúa independientemente de cualquier error.

Dependiendo de la ruta de salida y si el archivo ya existe, pueden producirse los siguientes resultados:

Nombre y ubicación del archivo de salidaSobrescribirResultado de salida
DesarmadoOffUn archivo con el nombre de archivo original + el sufijo "_Decrypted". Si el archivo ya existe, se produce un error.
DesarmadoActivadoUn archivo con el nombre de archivo original + el sufijo "_Decrypted". Si el archivo ya existe, se sobrescribirá.
ESTABLECEROffUn archivo según la preferencia del usuario. Si el archivo ya existe, se produce un error.
ESTABLECERActivadoUn archivo según la preferencia del usuario. Si el archivo ya existe, se sobrescribirá.

Salida

  • Decrypted File - Reference to the decrypted file retrieved by the activity for use in other activities.

Windows - Configuración heredada

Panel de propiedades

Común

  • ContinuarEnCasoDeError: especifica si la automatización debe continuar incluso cuando la actividad arroja un error. Este campo solo admite valores booleans (True, False). El valor predeterminado es False. Por lo tanto, si el campo está vacío y se produce un error, se detiene la ejecución del proyecto. Si el valor es True, la ejecución del proyecto continúa independientemente de cualquier error.
    Nota:

    Si se incluye esta actividad en Intentar capturar y el valor de la propiedad ContinuarEnCasoDeError es True, no se detectará error cuando el proyecto se ejecute.

  • Nombre para mostrar: el nombre para mostrar de la actividad.

Entrada

  • Algorithm - A drop-down menu which enables you to select the decryption algorithm you want to use. The following options are available: AES (Deprecated), AES GCM, DES (Deprecated), RC2 (Non-FIPS) (Deprecated), Rijndael (Non-FIPS) (Deprecated), and TripleDES.

    Nota:

    Al utilizar el algoritmo AES GCM , la entrada de descifrado debe proporcionarse en el formato de (bytes concatenados): Salt (8bytes) + IV (12 bytes) + encryptedData (variable bytes) + Tag (16 bytes). La actividad también utiliza los siguientes parámetros:

    • El recuento de iteraciones de pbkdf2 es 10000
    • La clave generada es de 256 bits (32 bytes)

    Ten en cuenta que la clave generada de 256 bits no es la misma que la opción de entrada Clave .

  • Decrypted Filename - The file name you want to use to save the decrypted file.

  • InputPath - The path to the file that you want to decrypt. This field supports only strings and String variables.

  • Key - The key that you want to use to decrypt the specified file. This field supports only strings and String variables.

  • Key Encoding - The encoding used to interpret the key specified in the Key property. This field supports only Encoding variables.

  • Key Secure String - The secure string used to decrypt the input file.

  • Output file name and location - The path where you want to save the decrypted file. This field supports only strings and String variables.

  • Overwrite - If a file already exists at the path specified in the OutputPath field, selecting this check box overwrites it. If unchecked, a new file is created. By default, this check box is cleared.

Otros

  • Privado : si se selecciona, los valores de variables y argumentos ya no se registran en el nivel Detallado.

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado