Giter Site home page Giter Site logo

mbpqs's Introduction

MBPQS

Multi-Blockchain Post-Quantum Signatures (MBPQS) is a hash-based post-quantum secure cryptographic digtal signature scheme specifically designed for multi-chain blockchain systems. The scheme is designed for private/consortium blockchain where orderers are predefined network peers, and sign blocks in segregated chains (channels).

Parameters

The parameters for MBPQS are as following:

  • n, chosen from {32,64}: security parameter in bytes. For n=32, SHA-256 is used throughout the scheme, and for n=64, SHA-512 is used.
  • w, chosen from {4,16,256}: Winternitz parameter.
  • rootH, integer < 20: height of the root tree, defines the maximum amount of channels which can be added (which is 2^rootH).
  • chanH, integer < 2^32: height of the initial chain tree in a channel.
  • gf, integer < (2^32-chanH): growing factor for subsequent chain trees relative to the previous chain tree in the channel. gf=0 results in no relative growth of chain trees.

Disclaimer

This code is meant to showcase the workings of MBPQS, cross-validation, and experimenting. Do NOT use this code any software deployment as cryptographic code requires careful consideration of the specific deployment environment.

Installation

go get -u github.com/Breus/mbpqs

References

The scheme design uses ideas from XMSS-T to reach quantum-resistance, and the ChainTree structure from BPQS.

The implementation of WOTS+ (including multi-target resistance from WOTS-T) and parts of the XMSS tree generation, including the corresponding unit tests, are taken from Go-XMSS-MT from Bas Westerbaan.

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.