Updated on 2022-09-19 GMT+08:00

SHA-256/512

SHA-256/512, message-digest algorithms, are used by DSC to compute a digest from a string in a specified field.

Request Parameters

Table 1 Parameter description

Parameter

Mandatory

Type

Description

algorithm

Yes

String

Algorithm type, for example, SHA-256 and SHA-512

parameters

Yes

Object

Parameter, which can be ignored

Example Request

{
"mask_strategies": [
{
"name": "col1",
"algorithm": "SHA256",
"parameters": {}
}
],
"data": [
{
"col1": "test"
]
}