> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/dev-guide/developer-guide-en/dev-start/markdown/masking.md).

# Masking

Masking is now applied by the MessageConverter when a Controller returns a response, rather than by the DAO-to-DBMS layer. The former MyBatis interceptor `<plugin interceptor="com.x2bee.common.base.masking.MybatisMaskingInterceptor"/>` has been removed.

Use `@MaskString(type = MaskingType.NAME_EN)` on response DTO fields. For project-specific behavior, extend `MaskingUtils`, override `getValue`, register the custom bean, and configure `masking.utils.bean` in `application.yml`.
