Git Product home page Git Product logo

loyaltypointscrypto's Introduction

This code accompanies the paper CheckOut: User-Controlled Anonymization for Customer Loyalty Programs. It is an implementation of the three CheckOut systems reported in the paper, providing card-swapping only, semihonest security, and malicious security.

Raw data collected in our evaluation is reported in results_client.txt and results_server.txt. Client measurements were taken on a Moto G Stylus 5G phone running Android 11, and server measurements were taken on a server with an Intel Core i7-11700K processor @ 3.60 GHz running Ubuntu 20.04.6 LTS.

In the evaluation, we test each of the three schemes (card swapping only, semihonest, and malicious) by benchmarking

  1. Client registration time
  2. Transaction processing time
  3. Receipt distribution time (when applicable)
  4. Balance settling time (when applicable)

Both client and server overhead times are reported in the output. When there are multiple lines of output for a given benchmark, the value (in parentheses) at the top of the section specifies which value is being varied. The value of this variable is listed in the left-most column of each output line.

Installation

This project is built in Rust. Dependencies are listed in Cargo.toml.

To run the benchmarks reported in the paper, navigate to the LoyaltyPointsCrypto directory, and run cargo run --release.

Alternatively, to run the benchmarks inside the provided Docker image, navigate to the LoyaltyPointsCrypto directory, and, with Docker installed, run docker-compose build and docker-compose up.

Android

To run on Android, first install Termux, and then install Rust as follows:

pkg install rust

Then follow the instructions above. You will need to place the project file within your home directory; to do so, you may need to allow Termux permission access to your files and media.

Acknowledgment

This material is based upon work supported by the National Science Foundation under Grant No. 2234408. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

loyaltypointscrypto's People

Contributors

matthewgregoire avatar matthewgregoire42 avatar

Watchers

 avatar

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.