Generate irreversible tokens
An irreversible token is a value that can't be converted back to its original value. These tokens are used to anonymize data allowing them be used for data analytics and machine learning. Irreversible tokens also plays an important role in GDPR compliance by ensuring enhanced privacy and data anonymization.
Support available in CipherTrust Manager 2.23 and higher versions.
How to generate irreversible token
When creating protection policy on CipherTrust Manager, select the irreversible token checkbox. By default, this field is disabled.
Examples
The below examples use the following protection policy configurations to protect/reveal data:
Protection Policy Version: Internal
Irreversible Token: Enabled
Reveal Format: Plaintext
Protect Sample
Request
curl --location 'http://<dpg host IP>:<dpg host port>/api/sample/resource/<resource>' --header 'Content-Type: application/json' --header 'Authorization: Basic cGxhaW50ZXh0VXNlcjo=' --data '{"number": 96523476261}'
Response
{"number": "1001000I8SXQ4HDVVk"}
In response, version header + ciphertext (1001000I8SXQ4HDVVk) is returned.
Reveal Sample
Request
curl --location 'http://<dpg host IP>:<dpg host port>/api/sample/resource/123' --header 'Content-Type: application/json' --header 'Authorization: Basic Og==' --data '{"number": 1001000I8SXQ4HDVVk}'
Response
{"number": "I8SXQ4HDVVk"}
In response, I8SXQ4HDVVk (same as ciphertext) is returned.