What are some algorithms to use to MASK DOLLAR amounts such as salary, expenses, bonus?

  • 0
  • 1
  • Question
  • Updated 2 weeks ago
  • Answered
What are some algorithms to use to MASK $$$ dollar amounts such as salary, expenses, loans, bonus? Are there out-of-the box algorithms? Thanks
Photo of Raymond Siegel

Raymond Siegel

  • 100 Points 100 badge 2x thumb

Posted 2 weeks ago

  • 0
  • 1
Photo of John Leser

John Leser, Employee

  • 300 Points 250 badge 2x thumb
Official Response
For secure lookup, the file you provide is a newline separate list of replacements, like:

100.00
200.00
300.00
400.00


The masking behavior of secure lookup is to cryptographically hash each input value, and replace it with one of the values from the lookup file based on the hash result. So the result with my example input file would be each value replaced with one of those 4 values. There is no need to provide any information about the potential input values.
(Edited)