UiPath Documentation
activities
latest
false
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Activités du développeur.

Dernière mise à jour 21 mai 2026

Encrypt Text

UiPath.Cryptography.Activities.EncryptText

Description

Chiffre une chaîne avec une clé, selon un algorithme et un encodage de clé spécifiés.

Compatibilité du projet

Windows - Héritage | Windows | Multiplate-forme

Windows, configuration multiplate-forme

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

Options avancées

Options
  • 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.
Sortie
  • Encrypted Text - Reference to the encrypted text stored in a String variable for use in other activities.

Configuration Windows - Héritage

Panneau propriétés

Commun
  • 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.
    Remarque :

    Si cette activité est incluse dans Essayer de capturer (Try Catch) et que la valeur de la propriété Poursuite sur erreur (ContinueOnError) est True, aucune erreur n'est détectée lors de l'exécution du projet.

  • NomAffichage (DisplayName) - Nom affiché de l'activité.
Entrée
  • 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.

    Remarque :

    Lors de l'utilisation de l'algorithme AES GCM , l'entrée de déchiffrement doit être fournie au format de (octets concaténés) : Salt (8bytes) + IV (12 bytes) + encryptedData (variable bytes) + Tag (16 bytes). L'activité utilise également les paramètres suivants :

    • Le nombre d'itérations PBKDF2 est de 10 000
    • La clé générée est de 256 bits (32 octets)

    Notez que la Clé générée 256 bits n'est pas la même que l'option d'entrée Clé .

  • Encoding : l'encodage utilisé pour interpréter le texte d'entrée et la clé spécifiés dans la propriété Key. Ce champ prend uniquement en charge les variables Encoding. Pour plus d'informations sur ce type de variable, consultez la documentation officielle 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.

Divers
  • Privé (Private) - Si cette option est sélectionnée, les valeurs des variables et des arguments ne sont plus enregistrées au niveau Détaillé (Verbose).
Sortie
  • Result - The encrypted text, stored in a String variable.
  • Description
  • Compatibilité du projet
  • Windows, configuration multiplate-forme
  • Options avancées
  • Configuration Windows - Héritage
  • Panneau propriétés

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour