<div>Hi,</div>
<div> </div>
<div>How can I generate an ECDSA public key from the private one using crypto?</div>
<div>All I can do with it is to generate a public and private key pair at once:</div>
<div> </div>
<div><span style="font-size:18px"><span style="font-family:courier new,courier,monospace"> {Pub, Priv} = crypto:generate_key(ecdh, prime239v3).</span></span></div>
<div> </div>
<div>but can't calculate the public key if the private key was known beforehand.</div>
<div> </div>
<div>(prime239v3 isn't important, it could be any EC curve...)</div>
<div> </div>
<div> </div>