Desensitization Methods By Compute Engine

Updated at:

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

  • The security policy algorithm package method supports all desensitization algorithms, including the FPE encryption algorithm.

  • The database built-in function method does not support the following algorithms: Gaussian, sha256, sha384, sha512, salted sha256, salted sha384, salted sha512, and salted md5.

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

  • The security policy algorithm package method supports all desensitization algorithms.

  • The database built-in function method does not support the following algorithms: Gaussian, sha256, sha384, sha512, salted sha256, salted sha384, salted sha512, and salted md5.

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.

Note
  • The security policy algorithm package method 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. The database built-in function method 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 function method, which relies on engine built-in function rewriting. The security policy algorithm package method is not supported.