@IOTrav, one method is to calculate a simple CRC for your stored values. Take a look at this topic for inspiration: