Skip to content

Add support for Binary seed encoding #6

@cryptoquick

Description

@cryptoquick

This is the format used by SeedRoll... A binary encoding of the 128/256 bits of dice-rolled seed entropy, so, 128/256 1s and 0s, which is short the 12th/24th word. This would use the from_entropy bip39 method.
https://docs.rs/bip39/latest/bip39/struct.Mnemonic.html#method.from_entropy_in

The way to do this is to detect if the string is exactly 128 or 256 length, all 1s and 0s, and then parse the 1s and 0s into bytes 8 bits at a time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions