Git Product home page Git Product logo

codex32's Introduction

codex32

codex32 is a scheme for checksumming and Shamir Secret Sharing based on paper computers (volvelles). It is currently under construction and far from production-ready, but is usable by motivated experimentors. This scheme is tedious and not for the faint-of-heart, but does not require any mathematical understanding; only perseverance, focus, and an ability to follow precise instructions.

We welcome feedback from everybody, either through issues on this Github repo or email to [email protected].

Image of two Volvelles used for secret recovery

What is this repo?

Aside from documentation, this repository contains a single file, SSS32.ps, which contains the entire source code of the project. It is hand-written Postscript, which means that it can be opened by a document viewer but also in a text editor, which will reveal the code used to generate the wheels and worksheets. (If you are unable to open the file with a popular document viewer, please let us know!)

To produce a PDF file, on a Linux machine the most straightforward way is to run the command

ps2pdf -dPDFSETTINGS=/prepress SSS32.ps

If you are a software developer or mathematician who would like to contribute, feel free to open a pull request, join us on IRC (Libera) #volvelle-wizards, or contact Pearlwort by email.

What is this project?

This project is a scheme to generate, encode, checksum, split and recover Bitcoin secret keys, using pencil, paper and lookup tables (alternately, volvelles). It works with 128- or 256-bit secrets, encoded in the bech32 alphabet. No wallets currently support such secrets. Do not use this scheme with real money.

The project began in early 2020, as an extension of a "2018 blog point on computing Bech32 checksums with pen and paper". It uses a stronger error-correcting code than bech32 and introduces volvelles as a faster and less error-prone alternate to lookup tables. Initially it was a hobby project by the first author, Leon Olsson Curr, who was later joined by Pearlwort Snead. Pearlwort is the primary advocate for mainstream usage and any real-life problems or complaints should be directed to him.

codex32, in addition to generating and verifying checksums, also includes an implementation of Shamir's Secret Sharing Scheme (SSSS). This scheme gives users the ability to split their checksummed secrets into many pieces, such that the original secret can be recovered by threshold-many pieces. The threshold is set by the user and is typically 2 or 3.

Where are the artistic wheels?

This repository is actively being developed and does not cointain the latest experimental work. In particular,

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.