Skip to content

Commit ca09f9b

Browse files
authored
Remove duplicate master seed format section
Removed the duplicate section detailing the master seed format for codex32.
1 parent 8e42568 commit ca09f9b

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

bip-0093.mediawiki

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -373,23 +373,6 @@ Generation of long shares and recovery of the long secret from long shares proce
373373
The long checksum is designed to be an error correcting code that can correct up to 4 character substitutions, up to 8 unreadable characters (called erasures), or up to 15 consecutive erasures.
374374
As with regular checksums we do not specify how an implementation should implement error correction, and all our recommendations for error correction of regular codex32 strings also apply to long codex32 strings.
375375

376-
===Master seed format===
377-
378-
When the human-readable part of a valid codex32 secret (converted to lowercase) is the string "ms", we call it a codex32-encoded master seed or secret seed. The payload in this case is a direct encoding of a BIP-0032 HD master seed.
379-
380-
A secret seed is a codex32 encoding of:
381-
382-
* The human-readable part "ms" for master seed.
383-
* The data-part values:
384-
** A threshold parameter, which MUST be a single digit between "2" and "9", or the digit "0".
385-
** An identifier consisting of 4 bech32 characters.
386-
*** We do not define how to choose the identifier, beyond noting that it SHOULD be distinct for every master seed and share set the user may need to disambiguate.
387-
** The share index "s".
388-
** A conversion of the 16-to-64-byte BIP-0032 HD master seed to bech32:
389-
*** Start with the bits of the master seed, most significant bit per byte first.
390-
*** Re-arrange those bits into groups of 5, and pad with arbitrary bits at the end if needed.
391-
*** Translate those bits to characters using the bech32 character table from BIP-0173.
392-
393376
==Rationale==
394377

395378
This scheme is based on the observation that the Lagrange interpolation of valid codewords in a BCH code will always be a valid codeword.

0 commit comments

Comments
 (0)