Python script to verify h-k-p Coherence for Data protection and privacy exam
These instructions will tell you how to use the verifier.
The script take two dataset as input. One dataset with only public items and one dataset with only private items.
Launch the script with two parameters:
- pub filepath - the dataset with public items
- priv filepath - the dataset with private items
- p - items known by attacker
- k - Minumun number of transactions
- h - Probability to deanonimize some item
Example
python3 verifier.py -pub dataset_pub.dat -priv dataset_priv.dat -p 4 -k 3 -p 0.8
The result will be print to console.
- Paper - Anonymizing Transaction Databases for Publication
This project is licensed under the MIT License - see the LICENSE.md file for details