Mask with token

With this approach, data is masked according to user-defined token types (e.g., Text token, Alphanumeric, Numeric Token, etc.).

Note: To send a request with the authentication token, include the following in headers:

Headers: {"Authorization": "Bearer <AUTH_TOKEN>"}

Endpoint:

https://trial.protecto.ai/api/vault/mask

Request Method: PUT

Request Payload:


{"mask": [{ "value": “George Williams","token_name": "Numeric Token"}]}

Parameters:

· value (string): Sensitive data value to be masked.

· token_name (string): Token to be used for masking the sensitive data.

Response:

{"data": [{"value": " George Williams “, "token_value”": “2333",” token_name": "Numeric Token “}]}

Response Parameters:

· token_value (string): Generated token replacing the sensitive data.

Advantage:

Token-based masking is a data protection technique that allows users to customize the masking of sensitive data according to their preferences.

  1. Token Type: Users can choose the type of tokens to be used for masking, such as text-based tokens, alphanumeric tokens, or a combination of both.

  2. Token Length: Users can define the desired length of the tokens. For example, tokens can be set to a specific number of characters or digits.

  3. Case Sensitivity: Users may opt for case-sensitive or case-insensitive masking.

Last updated