google / fully-homomorphic-encryption

An FHE compiler for C++
Apache License 2.0
3.53k stars 256 forks source link

Add demo simulating a mail spam detection service #18

Closed dartdart26 closed 1 year ago

dartdart26 commented 3 years ago

This demo simulates a service that checks if a mail is spam without the server seeing the mail or the result. If a mail contains "evil.url", it will be classified as spam.

Add test benches, an unit test and update the README.

Reference: https://vitalik.ca/general/2020/07/20/homomorphic.html

google-cla[bot] commented 3 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

dartdart26 commented 3 years ago

@googlebot I signed it!