Name desensitization tool
🛡️ Desensitization settings
💡 Instructions for use
- The mobile phone number is identified by eleven digits, with separators before and after; the first three and last four digits of the code are retained, and the middle is replaced by a covering symbol.
- By default, only the username part of the email is coded, and the domain name remains intact, making it easy to confirm which email service it is; you can also choose to cover the entire section.
- By default, the first six digits and the last four digits of ID cards and bank cards are retained, so that the place of origin or card issuing bank can be seen without exposing the complete number.
- Name recognition can easily damage common words by mistake and is turned off by default; if necessary, you can only retain the last name or only the last word.
- Custom rules are one per line. The format is matching content plus replacement content, separated by spaces. Regular expressions are supported.
- The processing is completed in the browser, and the original text is not uploaded or saved; if you need to keep the results, please copy or download the results.
Name desensitization only retains the last name or the last word, and is used to cover names in lists, work orders, and customer service records.
Why does name recognition require conditions?
The combination of two or three characters in Chinese highly overlaps with ordinary words. If they are matched without restrictions, a large number of normal words will be misjudged as names, and the result will be beyond recognition. Therefore, the tool only recognizes names after labels such as "name", "contact person" and "consignee". The scope is controllable and there are fewer accidental injuries. The cost is that manual confirmation is required to ensure that the labels are complete.
Applicable occasions for the two retention methods
- Keep only last names: Suitable for scenarios where grouping or addressing by last name is required.
- Keep only the last word: suitable for scenarios where it is necessary to maintain distinction from other records.
- If there is no label in the list, it is recommended to add the label before doing desensitization.
There are two common methods of name desensitization: retaining only the surname, such as Zhang Moumou; or retaining one character at the beginning and the end with a star in the middle. The former is suitable for publicizing the list to the outside world, while the latter is suitable for internal communication and can retain a certain degree of recognition.
Ethnic minority names and compound surnames are easily damaged by rules. For example, compound surnames are truncated into two unrelated characters. Before batch processing, it is recommended to check a few lines randomly to confirm that the rules have reasonable performance for the name length and structure.
It is recommended that only the last name be retained in the external public list, and be relaxed as needed during internal communication.
If the list will be made public, it is recommended to double-check whether the desensitization standards are consistent before publishing.
If there are no labels in the list, add labels first and then do desensitization for the most stable effect.
📖 Glossary
- Desensitization
- On the premise of retaining the usability of the data, cover or replace sensitive parts so that others cannot directly identify specific individuals.
- coding
- The practice of covering some characters with fixed symbols, such as retaining the first three and last four characters, and replacing them with asterisks in between.
- Irreversible
- The obscured characters are no longer retained, and no one can restore the original content from the result, which is essentially different from encryption.
- pseudo-anonymization
- Replace the real identifier with a number or placeholder, and maintain a corresponding relationship table, which can be related back to the original record when necessary.
- personal information
- Information that can identify a specific individual individually or in combination, such as name, phone number, ID number, address and account number.
- minimum necessary
- Only deal with the part of the information that is really needed for the business, keep as little as possible, and cover up as much as possible.
- Accidental injury
- Ordinary content is misjudged as sensitive information and obscured, for example, ordinary words are recognized as names, requiring manual review.
- missed judgment
- Really sensitive information is not recognized, usually because the format is non-standard or mixed with other characters.
- Log desensitization
- Mask sensitive fields before logging to avoid writing personal information into the log file when troubleshooting.
- Data export
- Sending data to offshore servers involves compliance requirements, so local processing tools are more suitable for sensitive data.
🔗 All keywords and tutorials
❓ FAQ
- How to deal with compound surnames?
- Processed by characters, only the first character is retained. Compound surnames will be truncated by one character. Custom rules can be used to adjust if necessary.
- Can you recognize English names??
- Currently, Chinese names are processed; English names can be replaced by word matching using custom rules.