Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace RandomStringFormatEntry

The Random String masking format generates random and unique strings of length within a range. The length range is defined by the startLength and endLength attributes. The start length must be less than or equal to the end length. When masking columns with uniqueness constraint, ensure that the length range is sufficient enough to generate unique values. To learn more, check Random String in the Data Safe documentation.

Properties

Optional description

description: undefined | string

The description of the format entry.

endLength

endLength: number

The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

startLength

startLength: number

The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Const type

type: string = "RANDOM_STRING"

Methods

getDeserializedJsonObj

getJsonObj