Giter Club home page Giter Club logo

hegeo's Introduction

HEgeo

HEgeo is a package for demonstrating a prototype for privacy-preserving proof of location.

Dependency

SEAL-Python provides a Python wrapper for the Microsoft SEAL package. Following the installation instruction to install seal for Python

Installation

Clone the repository to your local file system.

$ git clone https://github.com/CarmenLee111/HEgeo.git

It is recommended to install it under a python virtual environment

$ python3 -m venv ~/venv/env_name
$ source ~/venv/env_name/bin/activate
(env_name) $ cd HEgeo
(env_name) $ python3 setup.py install

Use the restful API demo

Run the server in one terminal window

$ cd restful-app/server
$ python server-setup.py

Send request to the server with two test coordinates in a different terminal window

$ cd restful-app/client
$ python client-request.py 59.404811 17.948589 127.0.0.1 5000
Location verified
$ python client-request.py 59.404300 17.950540 127.0.0.1 5000   
Location not verified. Service denied.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.