Thankfully, in 2012 the developer Pieter Wuille developed the BIP32 specification at the base on the hierarchical deterministic wallets. Together with it, Pieter developed a mathematical purpose to produce a master essential from which to derive all other keys inside of a deterministic way. This post explains BIP39, the standard https://peakbookmarks.com/story19685213/getting-my-bip39-words-to-numbers-to-work