UiPath Documentation
activities
latest
false

Actividades de desarrollador

Última actualización 21 de abr. de 2026

Cifrar texto

UiPath.Cryptography.Activities.EncryptText

Descripción

Cifra una cadena con una clave basándose en una codificación de clave y un algoritmo especificados.

Compatibilidad de proyectos

Windows - Heredado | Windows | Multiplataforma

Windows, configuración multiplataforma

  • Algorithm - A drop-down menu which enables you to select the encryption 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 encrypt. This field supports only strings and String variables.
  • Key - The key that you want to use to encrypt the specified string. 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. 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 is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

Salida

  • Encrypted Text - Reference to the encrypted text stored in a String variable for use in other activities.

Windows - Configuración heredada

Panel de propiedades

Común

  • 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 is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any 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 encryption 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 .

  • Codificación : la codificación utilizada para interpretar el texto de entrada y la clave especificada en la propiedad Clave . Este campo solo admite variables Encoding . Para obtener más información sobre este tipo de variable, consulta la documentación oficial de Microsoft.

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

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

  • Text - The text that you want to encrypt. This field supports only strings and String variables.

Otros

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

Salida

  • Result - The encrypted text, stored in a String variable.

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado