Algorithm Suggestions
  • Request
    a trial
  • Request
    a demo
  • Request
    a quote
Search
OpenNavigationArticle
Sensitive Data Discovery Tool
OpenNavigationArticle
Open Navigation Article
Algorithm Suggestions
  • Request
    a trial
  • Request
    a demo
  • Request
    a quote
Algorithm Suggestions

Algorithm Suggestions

When SDDT detects a sensitive data type for a column, it suggests one or more masking algorithms for that type. If more than one algorithm is available, SDDT preselects one automatically. You can select a different algorithm from the dropdown at any time.

Default Selection

SDDT chooses the default algorithm for a column after each analysis:

  1. SDDT detects the column's sensitive data type and gives it a score.

  2. SDDT looks up the algorithms configured for that type and marks them in the column's dropdown.

  3. SDDT preselects the last algorithm in the configured list for that type, not necessarily the first one shown in the dropdown.

    • If the algorithm is installed, SDDT selects it and colors it by the detection score.
    • If the algorithm is not installed, SDDT selects it anyway and shows it as "<algorithm name> (Not installed)". SDDT does not skip it in favor of an earlier algorithm that is installed.

  4. SDDT selects Don't mask instead when no type was detected, when the detected type has no configured algorithms, or when the column's database data type is not supported. For a column with an unsupported data type, the dropdown offers only Don't mask and Ignore.

Warning: a column whose selected algorithm shows (Not installed) is copied to the destination unmasked when you click Generate Package, and SDDT does not warn you. For example, if Masking Company Name is installed but Masking Company Name Dynamic is not, a Branch column is preselected with Masking Company Name Dynamic (Not installed). Before you click Generate Package, check every column that shows (Not installed), and install the algorithm or select another one.

You can open the dropdown and select any other algorithm for the column.

When you load a saved project, each saved column gets its saved algorithm instead. Only new columns go through the steps above.

Deterministic and Random Masking

An algorithm name ending in Dynamic applies deterministic masking: the same source value always produces the same masked value. An algorithm name without Dynamic applies random masking: the same source value can produce a different masked value each time you run the package.

For example, Masking First Name replaces a first name with a randomly chosen one each time, while Masking First Name Dynamic always replaces the same first name with the same replacement. The same pattern applies to Masking SSN and Masking SSN Dynamic, and to other algorithm families with both variants.

Mask a Key, used for Primary Key, Foreign Key, and ID columns, is always deterministic. The same key value always produces the same masked value.

Preserving Relationships Between Tables

Because a deterministic algorithm always produces the same masked value for the same source value, it preserves relationships between tables. For example, a foreign key value that appears in two related tables is masked to the same value in both, so the relationship between the tables still holds after masking.

To preserve a relationship, select a deterministic algorithm — a Dynamic algorithm, or Mask a Key for a key column — on every related column. For a composite foreign key, select the algorithm on each column of the key separately.

Text keys need extra attention. SDDT assigns Mask Generic Shuffle to a primary key, foreign key, or ID column with a text data type, and Shuffle does not preserve relationships between tables. Mask a Key does not support text keys. To preserve a relationship on a text key, select a Dynamic algorithm manually on every related column.

The Masking Key

Deterministic algorithms (Dynamic algorithms and Mask a Key) derive each masked value from the original value and a masking key. The same value with the same key always produces the same masked value, on any machine and in any run.

Hush-Hush stores the masking key on each machine where the Hush-Hush masking components are installed, in C:\ProgramData\HushHush\HushHush.settings, encrypted for that machine. The key is not tied to a license, a project, or a package. It survives a reinstall or an upgrade. Hush-Hush creates a new key only if the file is missing, and a file copied from another machine causes an error.

Each Hush-Hush masking component reads the masking key when the package starts running, from the settings file on the machine that runs the package. SDDT does not store the key in the package, so the key on the machine where SDDT generated the package matters only if the package also runs there. For example, for a package that SQL Server Agent runs on an SSIS server, the key on the SSIS server is used. If you run the package from Visual Studio, the key on that machine is used. The Hush-Hush masking components must be installed on the machine that runs the package.

To get the same masked values on every server that runs packages, set the same key on each of them with the HushHush Licenser tool.

If the masking key changes, every deterministic algorithm produces different output, so values masked before the change no longer match values masked after it.

Manual Selection and Re-Running Analyze

When you click Analyze yourself, SDDT resets every column's algorithm selection back to the default for its detected type. This includes any algorithm you selected manually earlier in the same session, and happens every time you click Analyze.

Opening a saved project is a separate path. SDDT runs Analyze automatically when you open a project, including after you click Continue on a changed schema, but this Analyze does not reset the algorithms: SDDT restores the selected algorithm for each column from the project file. Custom property values are not saved in the project, so enter them again after you reopen it. See Comparing Project and Database Schema for what happens to Updated and Created columns.

Don’t Mask

Don't mask is an algorithm that you can select for any column to leave it unmasked. The Don't mask check box of a table sets this algorithm for all columns of that table at once. When you clear the check box:

  • If all columns still have Don't mask, SDDT asks "Do you want to restore the initial settings?". Click OK to return each column to its initial algorithm: the suggestion from analysis, or the value saved in the project if you loaded one. Click Cancel to keep Don't mask.
  • If you changed any column after selecting the check box, SDDT does not ask and does not restore anything.

Algorithm changes that you made manually before selecting the check box are not restored. Save the project before you select the check box if you want to keep them.

Ignore

Ignore is an option in the algorithm dropdown of every column, next to Don't mask. When you select Ignore, SDDT clears the column's destination mapping, so the column is not written to the destination at all. Don't mask, by contrast, copies the column to the destination unchanged.

The package inserts rows without an ignored column, so the destination column must allow NULL or have a default value. Ignore is also the only way to keep a binary column out of the destination, because SDDT cannot mask binary data.

About Hush-Hush Contact Us

E-mail: info@mask-me.net

tel: 855.968.4874

Privacy Policy Terms of Use