Problem


TL;DR : use HMAC-SHA256

Every once in a while there is a need to perform data sanitization on personal data to be in compliance with local regulations and with the common sense.
Unless you are working for Kongo Gumi and even though if you have doubts on whether to keep the data - consider that following the information theory all data...