Hierarchy

  • IAnonimizer

Implemented by

Methods

  • Anonimizes sensitive data

    Parameters

    • input: string

      The input with potentially unsafe or sensitive data that to be anonimized

    • featuresToReplace: Feature[]

      Flags representing what kinds of features of the text to replace

    Returns [string, RunValueMap]

    A version of the input that has the required sensitive data replaced, as well as a map of what values got replaced / and their replacements

  • Replaces previously anonimized data in a string with the original data

    Parameters

    • input: string

      The safe string to be reydrated

    • runMap: RunValueMap

      The runMap from the original anonimization run

    Returns string

    A version of the input string that has all 'safe' data replaced with the original sensitive values

Generated using TypeDoc