Skip to content


Based on Extensible Algorithm Framework

The LastNameLookup algorithm is an instance of the Secure Lookup Algorithm Framework.


A new name framework and a new last name algorithm instance was introduced in version and are the preferred methods for masking name values. See Name and LastName for more information.

This algorithm performs a lookup on the input value and returns a value from the provided lookup file. It is possible for this algorithm to produce the same output value for different input values. Inputs to this algorithm are case-sensitive so two inputs with the same value in different cases may mask to different values. Leading and trailing whitespaces are preserved by this algorithm.

The lookup values for this algorithm are last names.

For example:

  • "Smith" → "Blair"
  • "santa-cruz" → "Carney"
  • "von Trapp" → "Washington"