The good thing is, in 2012 the developer Pieter Wuille made the BIP32 specification at the base from the hierarchical deterministic wallets. With each other with it, Pieter made a mathematical function to make a learn key from which to derive all other keys in a very deterministic way. In https://linkedbookmarker.com/story4280011/a-secret-weapon-for-bip39-words-to-numbers