# Unlinkable Updatable Hiding Databases and Privacy-Preserving Loyalty Programs
# Unlinkable Updatable Hiding Databases and Privacy-Preserving Loyalty Programs
This repository contains the source code for an implementation of the UUHD (Unlinkable Updatable Hiding Database) primitive described in our paper titled "Unlinkable Updatable Hiding Databases and Privacy-Prserving Loyalty Programs". It also includes an implementation of the Privacy-Preserving Loyalty Program protocol put forward in this paper which uses the aforementioned primitive. These implementations were used to measure the storage and computation costs of the cryptographic operations in our primitive and the protocol, for the _Efficiency Analysis_ sections of our paper.
This repository contains the source code for an implementation of the HD (Unlinkable Updatable Hiding Database) primitive described in our paper titled "Unlinkable Updatable Hiding Databases and Privacy-Prserving Loyalty Programs". It also includes an implementation of the Privacy-Preserving Loyalty Program protocol put forward in this paper, which uses the aforementioned primitive.
These implementations were used to measure the storage and computation costs of the cryptographic operations in our primitive and the protocol, for the _Efficiency Analysis_ sections of our paper.
# Installation
# Installation
## Virtual Machine (Vagrant)
## Virtual Machine (Vagrant)
You can the Vagrantfile in this repository to spin up a virtual machine with a pre-configured execution environment using Vagrant: ([https://www.vagrantup.com/]).
You can the use `Vagrantfile` file in this repository to spin up a virtual machine with a pre-configured execution environment using Vagrant: https://www.vagrantup.com.
You must first install Vagrant, and then run the following command from the root directory of this repository:
```bash
$ vagrant up
```
The code will then be accessible from the `/vagrant` directory, in the virtual machine.
The code will then be accessible from the `/vagrant` directory, in the virtual machine window that shows up after the script downloads and installs all prerequisites.
## Manual Installation
## Manual Installation
Our code requires the Charm-Crypto library (v0.50) built with the Relic toolkit (0.5.0) , as described on these pages:
Our code requires Python 3.7, and the Charm-Crypto library (v0.50) built with the Relic toolkit (v0.5.0) , as described on these pages: