MaskingOption uses ConstantsTrait
The masker-specific option keys carried by a masking rule.
These are the extra keys read by maskValue() beyond the
structural MaskingRule keys (path, type). Each masker reads only the
options that apply to it (see the maskers catalogue).
Tags
Table of Contents
Constants
- BEGIN : string = 'begin'
- `datetime` — earliest instant (ISO 8601).
- DEFAULT : string = 'default'
- `phone` / `zip` — fallback value when the input is not a string.
- END : string = 'end'
- `datetime` — latest instant (ISO 8601); empty means "now".
- FORMAT : string = 'format'
- `datetime` — the DATE_FORMAT-style output pattern.
- HASH : string = 'hash'
- `xifyFront` — append a short hash to reduce collisions.
- LOWER : string = 'lower'
- `decimal` / `integer` — smallest value to return.
- SCALE : string = 'scale'
- `decimal` — maximum number of fraction digits.
- SEED : string = 'seed'
- `xifyFront` — secret used by the hash (0 = unseeded).
- UNMASKED_LENGTH : string = 'unmaskedLength'
- `xifyFront` — how many trailing characters of each word to keep.
- UPPER : string = 'upper'
- `decimal` / `integer` — largest value to return.
Constants
BEGIN
`datetime` — earliest instant (ISO 8601).
public
string
BEGIN
= 'begin'
DEFAULT
`phone` / `zip` — fallback value when the input is not a string.
public
string
DEFAULT
= 'default'
END
`datetime` — latest instant (ISO 8601); empty means "now".
public
string
END
= 'end'
FORMAT
`datetime` — the DATE_FORMAT-style output pattern.
public
string
FORMAT
= 'format'
HASH
`xifyFront` — append a short hash to reduce collisions.
public
string
HASH
= 'hash'
LOWER
`decimal` / `integer` — smallest value to return.
public
string
LOWER
= 'lower'
SCALE
`decimal` — maximum number of fraction digits.
public
string
SCALE
= 'scale'
SEED
`xifyFront` — secret used by the hash (0 = unseeded).
public
string
SEED
= 'seed'
UNMASKED_LENGTH
`xifyFront` — how many trailing characters of each word to keep.
public
string
UNMASKED_LENGTH
= 'unmaskedLength'
UPPER
`decimal` / `integer` — largest value to return.
public
string
UPPER
= 'upper'