- Visão geral
- Criptografia
- Banco de Dados
- Java
- Python
- WebAPI
Atividades do desenvolvedor
UiPath.Cryptography.Activities.DecryptText
Description
Descriptografa uma string com base em um algoritmo e uma codificação de chave especificada.
Compatibilidade do projeto
Windows - Legada | Windows | Multiplataforma
Windows, configuração multiplataforma
- 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.
- Text - The text that you want to decrypt. This field supports only strings and
Stringvariables. - Key - The key that you want to use to decrypt the specified text. This field supports only strings and
Stringvariables.
Opções avançadas
Opções
- Key Encoding - The encoding used to interpret the key specified in the Key property. 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).
- Continue On Error - Specifies if the automation should continue even if the activity throws an error. This field only supports Boolean values (
True,False). The default value isFalse. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set toTrue, the execution of the project continues regardless of any error.
Saída
- Decrypted Text - Reference to the decrypted text stored in a
Stringvariable for use in other activities.
Windows - Configuração legada
Painel de Propriedades
Comum
- Continue On Error - Specifies if the automation should continue even if the activity throws an error. This field only supports Boolean values (
True,False). The default value isFalse. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set toTrue, the execution of the project continues regardless of any error.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:Ao usar o algoritmo AES GCM , a entrada de descriptografia deve ser fornecida no formato de (bytes concatenados):
Salt (8bytes) + IV (12 bytes) + encryptedData (variable bytes) + Tag (16 bytes). A atividade também usa os seguintes parâmetros:- A contagem de iterações de PBKDF2 é de 10.000
- A chave gerada tem 256 bits (32 bytes)
Observe que a chave gerada de 256 bits não é a mesma que a opção de entrada Chave .
-
Codificação — a codificação usada para interpretar o texto de entrada e a chave especificada na propriedade Key . Este campo é compatível apenas com variáveis
Encoding. Para obter mais informações sobre esse tipo de variável, consulte a documentação oficial da Microsoft. -
Key - The key that you want to use to decrypt the specified file. This field supports only strings and
Stringvariables. -
Key Secure String - The secure string used to decrypt the input string.
-
Text - The text that you want to decrypt. This field supports only strings and
Stringvariables.
Diversos
- Privado - Se selecionado, os valores de variáveis e argumentos não são mais registrados no nível Verbose.
Saída
- Result - The decrypted text, stored in a
Stringvariable.