|
--- |
|
title: Encrypted Anonymization Using Fully Homomorphic Encryption |
|
emoji: π΅οΈββοΈ π |
|
colorFrom: blue |
|
colorTo: purple |
|
sdk: gradio |
|
sdk_version: 3.40.0 |
|
app_file: app.py |
|
pinned: true |
|
tags: |
|
- FHE |
|
- PPML |
|
- privacy |
|
- privacy preserving machine learning |
|
- data anonymization |
|
- homomorphic encryption |
|
- security |
|
python_version: 3.10 |
|
--- |
|
|
|
# Data Anonymization using FHE |
|
|
|
## Run the application locally |
|
|
|
### Install the dependencies |
|
|
|
First, create a virtual env and activate it: |
|
|
|
```bash |
|
python3 -m venv .venv |
|
source .venv/bin/activate |
|
``` |
|
|
|
Then, install the required packages: |
|
|
|
```python |
|
pip3 install pip --upgrade |
|
pip3 install -U pip wheel setuptools --ignore-installed |
|
pip3 install -r requirements.txt --ignore-installed |
|
``` |
|
|
|
The above steps should only be done once. |
|
|
|
## Run the app |
|
|
|
In a terminal, run: |
|
|
|
```bash |
|
source .venv/bin/activate |
|
python3 app.py |
|
``` |
|
|
|
## Interact with the application |
|
|
|
Open the given URL link (search for a line like `Running on local URL: http://127.0.0.1:8888/`). |
|
|