Created
June 17, 2020 16:28
-
-
Save kostysh/25770af2ef4a2c2e65ab967b1f0fd4b1 to your computer and use it in GitHub Desktop.
Creation of the secp256k1 key pair with openssl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
openssl ecparam -name secp256k1 -genkey -noout -out secp256k1.pem | |
openssl ec -in secp256k1.pem -pubout -out secp256k1.pub | |
# secp256k1.pem - private key | |
# secp256k1.pub - public key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment