Git Product home page Git Product logo

lrs's Introduction

lrs

Implementation of linkable ring signatures using elliptic curve cryptography in Go. This prototype is research code and should not be used with sensitive data. It definitely has bugs!

Getting Started

Installing

To start using linkable ring signatures, install Go 1.14 or above and build:

$ go build

Run all tests

$ go test ./...

Create keys

Before starting you have to generate the signers public and private keys and a folder with public keys. Create key pairs:

$ lrs --gen

Sign a message

$ lrs --sign /path/to/pubkey/dir /path/to/privkey.priv message.txt

Check if signature is valid

$ lrs --verify /path/to/signature.sig

Check if signatures are created by the same private key

$ lrs --link /path/to/signature1.sig /path/to/signature2.sig

Benchmark 1000 public keys

$ lrs --benchmark 1000
Linked ring signature:
Total avg sign time was 0.771589(0.009996)
Total avg verify time was 0.765127(0.013479)
Simple ECC signature:
Total avg sign time was 0.0001766443(0.0001004724)
Total avg verify time was 0.0000000856(0.0000000311)

References

This implementation is based on ring-go and the Monero paper Ring Confidential Transactions

lrs's People

Contributors

estensen avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

lrs's Issues

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.