UiPath Documentation
activities
latest
false

Entwickleraktivitäten

Letzte Aktualisierung 21. Apr. 2026

Text verschlüsseln (Encrypt Text)

UiPath.Cryptography.Activities.EncryptText

Beschreibung

Verschlüsselt einen String mit einem Schlüssel basierend auf einer angegebenen Schlüsselverschlüsselung und einem Algorithmus.

Projektkompatibilität

Windows - Legacy | Windows | Plattformübergreifend

Windows, plattformübergreifende Konfiguration

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

Optionen

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

Ausgabe

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

Windows – Legacy-Konfiguration

Eigenschaften-Panel

Allgemein

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

    Wenn die Aktivität in Abfangen versuchen (Try Catch) enthalten ist und der Wert der Eigenschaft ContinueOnError auf Wahr True gesetzt ist, wird kein Fehler bei der Ausführung des Projekts abgefangen.

  • AnzeigeName (DisplayName) - Der Anzeigename der Aktivität.

Eingabe

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

    Hinweis:

    Bei Verwendung des AES GCM -Algorithmus muss die Entschlüsselungseingabe im Format (verkettete Bytes) bereitgestellt werden: Salt (8bytes) + IV (12 bytes) + encryptedData (variable bytes) + Tag (16 bytes). Die Aktivität verwendet außerdem die folgenden Parameter:

    • Die Anzahl der PBKDF2-Iterationen ist 10.000
    • Der generierte Schlüssel ist 256-Bit (32 Byte)

    Beachten Sie, dass der generierte 256-Bit-Schlüssel nicht mit der Schlüsseleingabeoption identisch ist.

  • Verschlüsselung (Encoding) - Verschlüsselung, die zum Interpretieren des in der Eigenschaft Schlüssel (Key) angegebenen Eingabetextes und des Schlüssels verwendet wird. Dieses Feld unterstützt nur Encoding-Variablen. Ausführliche Informationen zu diesem Variablentyp finden Sie in der offiziellen Microsoft-Dokumentation.

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

Sonstiges

  • Privat (Private) - Bei Auswahl werden die Werte von Variablen und Argumenten nicht mehr auf der Stufe Verbose protokolliert.

Ausgabe

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

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben