/bip39gen

Generate bip39 mnemonic by mic noise

Primary LanguagePythonMIT LicenseMIT

bip39gen

Generate bip39 mnemonic by microphone noise randomness

This project has been improved and replaced by PAPERGEN PROJECT https://github.com/massmux/Papergen

you can generate a 24words bip39 sequence from entropy coming from the computer's microphone (usage without the -e parameter) or by providing your own entropy source (with -e parameter). The source of entropy gets hashed a number of rounds with a true random salt.

the command is totally offline and must be run on a clean computer without any connection to the internet. It is suggested for example to run on a Tails OS (or similar Linux flavor OS) with internet disconnected and immediately save produced bip39 mnemonic on a sheet of paper. Beware also that no external source is watching at the procedure (a camera for example).

Requirements

 pip3 install -r requirements.txt

Syntax

without params, creates mnemonic by gathering mic audio noise as a source of entropy. Here the command syntax:

usage: bip39gen.py [-h] [-e ENTROPY]

optional arguments:
  -h, --help            show this help message and exit
  -e ENTROPY, --entropy ENTROPY
                        An optional random string in case you prefer providing your own entropy

example, generate 24 words bip39 mnemonic with entropy from microphone audio recording.

 ./bip39gen.py

example, generate 24 words bip39 mnemonic with a provided string as entropy.

 ./bip39gen.py -e 12345678

More infos

Please refer to resources published on the website https://www.massmux.com for more infos.