mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Describe Uncompressed And Compressed Public Keys
A quick little subsection the two different public key formats possible in Bitcoin.
This commit is contained in:
parent
87e31affba
commit
968d9c1f64
5 changed files with 491 additions and 6 deletions
15
img/dev/en-ecdsa-compressed-public-key.gnuplot
Normal file
15
img/dev/en-ecdsa-compressed-public-key.gnuplot
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue