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.
Note
Support for irreversible tokens will be available in a future CipherTrust Manager release. The required version will be specified here and added to the official CipherTrust Manager release notes upon availability.
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
Protect Request
curl --location 'http://<crdp host IP>:<crdp host port>/v1/protect' --header 'Content-Type: application/json' --data '{"protection_policy_name": "testpp-internal-versioned", "data": "1234567" }'
Response
{
"protected_data": "10010003108044"
}
In response, version header + ciphertext (10010003108044
) is returned in the protected_data
field.
Reveal Request
curl --location 'http://<crdp host IP>:<crdp host port>/v1/reveal' --header 'Content-Type: application/json' --data '{ "protection_policy_name": "testpp-internal--versioned","protected_data": "10010003108044", "username": "user1"}'
Response
{
"data": "3108044"
}
In response, 3108044
(same as ciphertext) is returned in the data
field.