To accomplish this I employed the bitwasp/bitcoin php library (disclosure: I wrote it) and called Bip39::mnemonicToEntropy to validate. in the event the mnemonic was rejected, I printed out the bitstring, converted to your byte string, and named Bip39Mnemonic::entropyToMnemonic. The tool's support for numerous cryptocurrencies, and also its State-