Create an ECDSA P-256 key pair for signing payment requests.
Blink uses ECDSA with the P-256 curve (prime256v1) and SHA-256 for payload signing and verification. You generate a key pair: a private key (kept secret on your server) and a public key (registered with Blink).
Option A: OpenSSL (recommended for production)
# Generate a P-256 private key in PKCS#8 PEM formatopenssl ecparam -name prime256v1 -genkey -noout | \ openssl pkcs8 -topk8 -nocrypt -out private.pem# Extract the public key in SPKI PEM formatopenssl ec -in private.pem -pubout -out public.pem