Alkante/anonymizedb

re-anonymize fields

Opened this issue · 4 comments

thank you for the code sir, but after anonymize fields how we can re-anonymize fields to get the original data ?

You want to recover anonymized data ?
With my script you can't.
You have to merge manually the old DB and the anonymized DB.

can you explain more? i want to do it automatically , first anonymized data and after deanonymized data

Anonymizedb is design for a single way process of anonymization by replacing data.
But perhaps you can try to rewrite your reversible function. See this https://github.com/Alkante35/anonymizedb/tree/master/functions
and define it in the tables' json here https://github.com/Alkante35/anonymizedb/tree/master/json/tables

But what to write in your function ? I don't know.

thank you sir for ur links, actually sir im planing to implement a method that can be anonymized some field data in database and when calling these data from the used its doing de-anonymized something like encrypts/decrypts