Skip to content


Based on Extensible Algorithm Framework

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

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 United States cities.

For example:

  • "Los Angeles" → "Chicago"
  • "New England" → "Oklahoma City"
  • "cape town, south africa" → "Houston"
  • "Princeton, New Jersey" → "Redwood City"