---
sourceDocument: Australia Platform security
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/platform-security

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Tokenize strings using encryption patterns

# Tokenize strings using encryption patterns {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 Minuten Lesedauer

You can replace string patterns with tokens before they are sent to and stored in the
instance.

## Vorbereitungen

To use encryption patterns, you must install and
set up a MySQL database in your network. This is the same database used for
order-preserving encryption. To create or edit encryption patterns, you must be
connected to the instance through the proxy.{#t_ConfigureBasicEncryptionPatterns__EncryptionPatternPrerequisite}

Role required: security_admin

## Warum und wann dieser Vorgang ausgeführt wird

You can use base system patterns, or create your own patterns. Base system patterns are advanced patterns. Encryption patterns include the following limitations.

* A pattern of all alpha characters is not allowed.
* The minimum pattern size is five characters. You can change this setting using a system property.
* The \* and + quantifiers are forbidden in encryption patterns.
* Encryption patterns match complete words, not parts of strings embedded in a larger string. Words are defined by spaces and characters not available for inclusion in a pattern.
* If the same string is sent to the instance multiple times, it is replaced with the same token.
* Text search on exact matches is supported. The query string is exchanged with a token when sent to the instance, the search is performed on tokens, and when the search results are returned to the proxy server, the tokens are replaced with the clear text. Features such as stemming are not supported.

{#t_ConfigureBasicEncryptionPatterns__ul_hxq_w3h_t5}  
When using patterns, the clear text never leaves your network. When the proxy server matches a pattern in a request going to the instance, the proxy replaces the string with a token of the same size. The token is sent to instance instead of the clear text string. When the response is sent from the instance to the proxy server, the proxy replaces the token with the string. When viewed through the proxy server, the string displays as clear text.  
Hinweis:  
Encrypted fields are not checked for encryption patterns.

## Prozedur

1. Navigate to AllEdge Encryption ConfigurationEncryption PatternsCreate New.  
   Alternatively, you can navigate to Advanced Patterns to activate or edit a preconfigured pattern.
2. Enter the pattern name.
3. Define the Edge pattern input type.

   | Option | Bezeichnung |
   | Basic | A series of character types. In the Basic Pattern Input tab, click Add and select a character type. The Sample pattern displays the pattern as characters are added. Click New Block to move the next character to the next line. This enables you to group characters in a long pattern. Click X to delete the last character in the pattern. |
   | Advanced | A Java RegEx expression. If advanced is selected, you cannot change the input type back to basic. In the Sample match field, enter a sample pattern to test the RegEx expression. In the Pattern field, enter a Java RegEx expression. Click Validate to verify that the expression matches the sample pattern. |
   |-|-|

   {#t_ConfigureBasicEncryptionPatterns__choicetable_nkx_mdv_s1b}  
   The input type defines how you are going to enter the pattern. It does not
   impact how the pattern is used.
4. Click Submit.

