I want to generate bitcoin priv/pub key manually. I generated random binary numbers by flipping some coins and converted them to hex.
Now,I got a bitcoin private key
in hex:d1267088f0defab13969dd34c899d28268119cf9e68f3856d0ee9b581f5a1bca
in WIF:L4EGhR5Fdon96W2zepTAE3CxtayBqiN3v2pBmkB9dxG4r8JaVKf2
how to gerate Public Key using openssl command line in linux?
I tried to use
openssl ec -in priv_key.pem -pubout
but terminal said: unable to load Key, and lots error file uris.
Maby I got something wrong with PEM private key format.
The priv_key.pem ,I converted private key hex to base64 format.
-----BEGIN EC PRIVATE KEY-----
ZDEyNjcwODhmMGRlZmFiMTM5NjlkZDM0Yzg5OWQyODI2ODExOWNmOWU2OGYzODU2
ZDBlZTliNTgxZjVhMWJjYQ==
-----END EC PRIVATE KEY-----