Describe Uncompressed And Compressed Public Keys

A quick little subsection the two different public key formats possible
in Bitcoin.
This commit is contained in:
David A. Harding 2014-06-09 21:30:45 -04:00
parent 87e31affba
commit 968d9c1f64
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7
5 changed files with 491 additions and 6 deletions

View file

@ -0,0 +1,15 @@
set samples 1000000
set yrange [-4:4]
set terminal svg size 600,200 font "Sans,12"
set output "en-ecdsa-compressed-public-key.svg"
plot [-3:8] sqrt(x**3+7) \
,-sqrt(x**3+7) \
,"< echo 1 2.83" u 1:2 title "x,y=1.00,2.83" with points
## Remember to run optipng -o7 on output before commiting
set terminal png size 600,200 font "Sans,12"
set output "en-ecdsa-compressed-public-key.png"
replot