I want to create a new account using web3.js < v1.0
In web3.js 1.0.x we have this method:
web3.eth.accounts.create();
or at least this method:
web3.eth.accounts.privateKeyToAccount(myPrivateKey);
But unfortunately I didn't any equivalent method in web3.js v0.x
Do you know any way to create a new account in web3.js v0.x?
P.S: this topic (Creating an account using web3js or web3j) is about this subject, but it doesn't contain any correct alternative solution.