Algorithm syncability
Overview
Algorithms are fully syncable between Masking Engines. To obtain a list of syncable algorithms, use the GET /syncable-objects
API with object_type
set to USER_ALGORITHM
:
GET https://host.example.com/masking/api/syncable-objects?object_type=USER_ALGORITHM
The semantics of synching an instance of the Mapping Algorithm Framework depend on its configuration. See Mapping Algorithm Sync for more information.
Syncing out of the box algorithm instances updates their individual keys but does not replace their existing associated files.
Non-deterministic Algorithms
Some algorithms are non-deterministic. While exporting these algorithms is supported, they will not produce identical masking results on different engines. The following table lists the built-in non-deterministic algorithms:
Algorithm API Name | Algorithm UI Name |
---|---|
DateShiftVariable | DATE SHIFT(VARIABLE) |
SecureShuffle | SECURE SHUFFLE |
Fixed Algorithms
Some algorithms produce constant (fixed) results. Although these algorithms can be exported, they do not need to be synchronized since they always produce the same results on different engines. The following table lists the built-in fixed algorithms:
Algorithm API Name | Algorithm UI Name |
---|---|
DateShiftFixed | DATE SHIFT(FIXED) |
RepeatFirstDigit | ZIP+4 |