I am trying to create a private key and its corresponding public key using EthereumJS library. So far so good I've been able to create private keys using keythereum.create() method. Nevertheless I find myself stuck when dealing with public key.
I heard using Elliptic Curve Digital Signature Algorithm (ECDSA) it is possible to get an Ethereum Public Key (64 bytes long) from its Private Key. The question is how can I code this process using EthereumJS library. Maybe there is some simple method to derive public key, but I cannot find it. Any help will be appreciated.
I found some limited info on previous StackExchange questions but I would prefer an answer focused on EthereumJS:
How are ethereum addresses generated?
Creating keyfile and address from private key
Thanks!