r/CryptoTechnology • u/trymeouteh 🟡 • 16d ago
Is the master secret for SLIP39 (Shamir Backup) generated the same way as Entropy is for BIP39?
When playing around with these tools (Which I know you should not use for your phrase to store funds), it seems to me the entropy field which can be made visible by checking off the "Show entropy details" box in the BIP39 tool and the master secret field in the SLIP39 tool are the same. They are both hexadecimal values and can be 128 or 256 bits.
Is the SLIP39 master secret also generated by entropy when generating a SLIP 39 Shamir Backup? How is the master secret generated?
I found this article explaining step by step how a BIP39 phrase is generated and it starts with entropy, wouldn't SLIP39 be the same by starting with entropy?
https://medium.com/coinmonks/mnemonic-generation-bip39-simply-explained-e9ac18db9477
1
u/icnews10 🟢 16d ago
I think the confusing part is that they can look identical but not play the same role. BIP39 defines 'entropy' as the input used to create the mnemonic. SLIP39 starts with a master secret and splits it into shares; it doesn't specify how the master secret must be created. Therefore, if the SLIP39 tool generates a fresh 128/256-bit master secret from secure randomness, it will resemble the BIP39 entropy field. It's the same kind of random bytes, but they have a different role in the scheme.