Desensitization Methods By Compute Engine
This topic describes the supported desensitization methods for different compute engines and data source types.
Compute engine | Desensitization method | Supported algorithms |
MaxCompute | security policy algorithm package, database built-in function |
|
E-MapReduce 3.X, E-MapReduce 5.x, CDH 5.X, CDH 6.X, FusionInsight 8.X, Asiainfo DP 5.3, Cloudera Data Platform 7.x, Lindorm (compute engine), Amazon EMR, Transwarp TDH | security policy algorithm package, database built-in function |
|
Hologres, Alibaba Cloud EMR Serverless Spark, AnalyticDB for PostgreSQL, Transwarp ArgoDB, Impala, StarRocks, GaussDB, Databricks, SelectDB, Doris, OushuDB | database built-in function | The following algorithms are not supported: Gaussian, sha256, sha384, sha512, salted sha256, salted sha384, salted sha512, and salted md5. |
The
security policy algorithm packagemethod uses a security user-defined function (UDF) package for data desensitization. It offers greater flexibility but requires you to install the package in the corresponding project. Thedatabase built-in functionmethod uses the compute engine's native functions for data desensitization. This method requires no installation but supports a limited set of desensitization algorithms.In some environments, a single tenant may use multiple compute engines, such as MaxCompute and Hologres. In this case, choose a desensitization algorithm supported by all your compute engines to prevent failures caused by an unsupported algorithm.
Dynamic data masking for tables in a data source supports only the
database built-in functionmethod, which relies onengine built-in function rewriting. Thesecurity policy algorithm packagemethod is not supported.