- Vue d'ensemble (Overview)
- Cryptographie
- Base de donnés
- Java
- Python
- APIweb
Activités du développeur.
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
Stringvariables. - Key - The key that you want to use to encrypt the specified string. This field supports only strings and
Stringvariables.
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 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.
Sortie
- Encrypted Text - Reference to the encrypted text stored in a
Stringvariable 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 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.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
Stringvariables. -
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
Stringvariables.
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
Stringvariable.