Git Product home page Git Product logo

punchcard's Introduction

Punchcard

Python functions to convert mnemonic or hexseed to and from binary for use with a metal punchcard.

Usage

Within a terminal, clone the repo to your local machine and directory with: git clone https://github.com/surg0r/punchcard

Move into the punchcard directory: cd punchcard

To convert from qrl mnemonic or hexseed: python to_pc.py

Paste your hexseed or mnemonic phrase and the tool outputs your binary seed.

Typical output:

>>> QRL metal cold storage tool <<<

Please paste your QRL seedphrase/mnemonic or hexseed:

absorb drank rodent label swap member heaven noise win gut city genre she beard excuse basic feudal apex monkey cowboy viral offer tin earn lose sight nylon and revest tray khowar sum bag aha

Binary output for metal cold storage tool (1 = punch/mark, 0= leave blank):

000000010000 010000000000 101110011110 011110001011 110110111111 100010011110 011001111000 100101100100 111110100111 011000110111 001010100100 010111000000 110001010101 000100111000 010010100100 000100100100 010011101111 000010011010 100011110001 001100011111 111100111110 100110010011 111001011101 010000110111 100000100011 110010000001 100110000001 000010000100 101101100111 111010010100 011101110010 110110101010 000100000010 000001001010

To convert from punchcard binary seed to mnemonic phrase: python from_pc.py

Paste your binary seed and the tool outputs your mnemonic phrase.

Typical output:

>>> QRL metal cold storage tool <<<

Please paste your metal cold storage binary seed (bigendian, 12 bits per word, each punch or mark = 1, blank = 0):

000000010000 010000000000 101110011110 011110001011 110110111111 100010011110 011001111000 100101100100 111110100111 011000110111 001010100100 010111000000 110001010101 000100111000 010010100100 000100100100 010011101111 000010011010 100011110001 001100011111 111100111110 100110010011 111001011101 010000110111 100000100011 110010000001 100110000001 000010000100 101101100111 111010010100 011101110010 110110101010 000100000010 000001001010

Here is your mnemonic seed phrase:

absorb drank rodent label swap member heaven noise win gut city genre she beard excuse basic feudal apex monkey cowboy viral offer tin earn lose sight nylon and revest tray khowar sum bag aha

punchcard's People

Contributors

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