Based on Extensible Algorithm Framework
The USstatesLookup 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 state and territory names.
- "Hawaii" → "Iowa"
- "KS" → "District of Columbia"
- "california" → "Northern Marianas Islands"