Israeli Bank Importer - v1.44.5
    Preparing search index...

    Class SecretValues

    A growing list of secret values, and the text masker they make.

    Index
    • Adds values to the list, in every form an output can write them.

      Parameters

      • values: readonly string[]

        Secret values, such as a bank's credentials.

      Returns number

      How many forms the list now holds.

    • Finds every known value in a text, and any mask already there.

      Parameters

      • text: string

        Any text an output is about to write.

      Returns IMaskSpan[]

      A span for each, which writes the mask. Spans can overlap, and writeSpans joins those that do.

    • Replaces every known value in a text with the mask.

      Parameters

      • text: string

        Any text an output is about to write.

      Returns string

      The text with each known value masked.