I need to build web server (window server) with a tokenization engine for encrypting sensitive data. As per client requirements:
- The server should be configured with a unique encryption/hash "seed" file that can be backed up
- The server should use the seed file to tokenize (i.e. mask/hash/encrypt) sensitive data fields
- The server should pass the tokenized values to the database (MySQL) for save operation.
- The server should un-tokenize the data when retrieved from the database for display on the website
My question is
- how to create seed file?
- if data is encrypted using seed file and then somebody change/update seed file. In this case can we able to decrypt data