Post
Topic
Board Wallet software
Re: Is it possible to convert WIF to seed phrases (BIP39)?
by
JohanM
on 18/03/2024, 16:03:14 UTC
well i see enough demand for this to make it. we need a standard for 32 bytes -> 12 words thing. So someone then can figure out how to recover this stuff if tool is lost. i think to snoop it from monero, they support phrases from the start.

But better way is this: just to scale base58 lib which now does [0..255] ⇆ [0..57] to [0..2047] ⇆ [0..57]. So we'll have 32 bytes -> base58 of it -> words. it then could be applied to wif or whatever. amount will be not 12 ofc and not fixed

With 12 words you can only encode 16 bytes (128 bits). For 32 bytes you need 24 words. The word list contains 2048 words so 11 bits.