Skip to content

Is a bag of bech32 marbles a secure entropy source? #67

@seedhammer

Description

@seedhammer

The manual entropy generation process for dice is somewhat complicated, for good reasons (avoiding bias).

Assume you have an opaque bag of marbles, all equal except for a bech32 character printed on each. Is the following process a secure way to generate a codex32 secret?

  • As preparation, place each marble in front of you, count them, sort them and ensure there are no duplicates (nor invalid characters).
  • Then, for each character in your codex32 secret:
    • thoroughly mix the marbles by hand.
    • draw a marble and write it down.
    • replace the marble.

This is similar to BIP39 word tiles, but much less cumbersome to verify integrity because of much smaller alphabet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions