UiPath Documentation
activities
latest
false
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.
UiPath logo, featuring letters U and I in white

Atividades do desenvolvedor

Última atualização 21 de abr de 2026

Decrypt File

UiPath.Cryptography.Activities.DecryptFile

Description

Descriptografa um arquivo com base em um algoritmo e uma codificação de chave especificada.

Compatibilidade do projeto

Windows - Legada | Windows | Multiplataforma

Windows, configuração multiplataforma

  • File - The file to be decrypted, stored as an IResource variable. Select the Plus Imagem dos documentos menu to switch to the Input Path input.
  • 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.
Opções avançadas

Opções

  • 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.
    Observação:

    Relative folder paths are recommended to account for the different file structure between Windows and Linux machines when executing a project. A relative path follows the format newFolder/newFileName.enc. The activity creates the target folder if it does not already exist.

  • 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.
  • Continuar com erro - Especifica se a automação deve continuar mesmo quando a atividade gera um erro. Este campo só aceita valores booleanos (True, False). O valor padrão é False. Como resultado, se o campo estiver em branco e um erro for lançado, a execução do projeto será interrompida. Se o valor for definido como True, a execução do projeto continua independentemente de qualquer erro.

Dependendo do caminho de saída e se o arquivo já existir, podem ocorrer os seguintes resultados:

Nome e local do arquivo de saídaSubstituirResultado da saída
DesarmarDesativadoA file with the original file name + the suffix "_Decrypted". If the file already exists, an error is thrown.
DesarmarLigadoA file with the original file name + the suffix "_Decrypted". If the file already exists, the file will be overwritten.
DEFINIRDesativadoA file as per user preference. If the file already exists, an error is thrown.
DEFINIRLigadoA file as per user preference. If the file already exists, the file will be overwritten.

Saída

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

Windows - Configuração legada

Painel de Propriedades

Comum

  • Continuar com erro - Especifica se a automação deve continuar mesmo quando a atividade gera um erro. Este campo só aceita valores booleanos (True, False). O valor padrão é False. Como resultado, se o campo estiver em branco e um erro for lançado, a execução do projeto será interrompida. Se o valor for definido como True, a execução do projeto continua independentemente de qualquer erro.
    Observação:

    Se esta atividade estiver incluída na atividade Try Catch e o valor da propriedade ContinuarComErro for True, nenhum erro será capturado quando o projeto for executado.

  • DisplayName - O nome de exibição da atividade.

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.

    Observação:

    When using the AES GCM algorithm, the decryption input must be provided in the format of (concatenated bytes): Salt (8bytes) + IV (12 bytes) + encryptedData (variable bytes) + Tag (16 bytes). The activity also uses the following parameters:

    • A contagem de iterações de PBKDF2 é de 10.000
    • A chave gerada tem 256 bits (32 bytes)

    Note that the 256-bit generated key is not the same as the Key input option.

  • 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.

Diversos

  • Privado - Se selecionado, os valores de variáveis e argumentos não são mais registrados no nível Verbose.

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades