Alkante / anonymizedb

Anonymize database in dev for GDPR
Other
7 stars 2 forks source link

re-anonymize fields #1

Open balasmeh opened 5 years ago

balasmeh commented 5 years ago

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

Oros42 commented 5 years ago

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

balasmeh commented 5 years ago

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

Oros42 commented 5 years ago

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.

balasmeh commented 5 years ago

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