Git Product home page Git Product logo

gpestana / htokens-rs Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 0.0 47 KB

Suite of verifiable anonymous credentials that can be used by applications and systems to enhance/provide privacy to users without impacting practicality.

Home Page: https://humanity-tokens.com

License: Mozilla Public License 2.0

Rust 100.00%
verifiable-credentials zero-knowledge privacy cryptography anonymous-credentials

htokens-rs's Introduction

Private Humamity Tokens

htokens-rs implements a suite of verifiable anonymous credentials that can be used by applications and systems to enhance/provide privacy to users without impacting practicality.

In general, the schemes implemented by htokens-rs have three main participants: an issuer , a wallet and a verifier. The issuer, issues htokens to a particular wallet. The wallet stores and utilizes issued tokens by making claims about tokens to third parties. Finally, a verifier verifies whether the claims made by the wallet about their token are valid. Importantly, the wallet identity may remain hidden when the claims about their tokens are verified.

The claims can be, for example, of the form "This token has been issued by Issuer X in the past month" or "Issuer X of this token guarantees that the owner is a human based on properties Z and Y", etc. In general, these schemes allow wallets to fetch tokens from issuers and prove properties about themself to verifiers without disclosing their own identity.

While htokens are not necessarily issued/verified by a smart contract, many of the schemes implemented in this crate allow for smart contract integration (WIP).

The htoken-rs library supports (or will support) the following schemes:

  • Third-party issued credentials with public and private metadata and private verifiability (e.g. Privacy Pass)
  • Third-party issued credentials with public and private metadata and public verifiability
  • Self-issued credentials with private verifiability
  • Self-issued credentials with public verifiability

In addition, htokens-wallet-rs implements an API and CLI for users to manage and use their credentials.

Application examples:

  • Privacy Pass tokens and CAPTCHAs
  • Privacy-preserving humanity attestation
  • Private access management and delegation
  • Smart contract access/reputation control

htokens-rs's People

Contributors

gpestana avatar wseng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.