0% found this document useful (0 votes)
355 views2 pages

Remap

This document contains the details of an ECDSA signature, including the signature values (r, s), public key, and elliptic curve domain parameters. It provides a formula to recover the private key from these values.

Uploaded by

Faron
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
355 views2 pages

Remap

This document contains the details of an ECDSA signature, including the signature values (r, s), public key, and elliptic curve domain parameters. It provides a formula to recover the private key from these values.

Uploaded by

Faron
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

1NznGtukoc7Y3bK9VSCJt2B3HfJmJ3oT5Y

private key = K(z1*s2 - z2*s2)/(r*(s1-s2))

p = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141
r = 0x06079ec29886785f409ef5c0d3deab8e2bf7431c34e8eaca3aa8128f990977b1
s1 = 0x21fe7bb34d05653cff6f788518141c0f37926da364b696d8cae1774e1d4c17ec
s2 = 0x238795204ce124d4e4c6ed804a92c67bc056d04776d762c122efe6e095ae8025
z1 = 0x508787e305c6c5a4491083406bd0d5635381c63a9f2a34853f3418f5d1bcaa4f
z2 = 0x9d252ee043e755db38d9169a540fceca7cbefc88edcf6ab155a5d53e038434b8

K = GF(p)

K((z1*s2 - z2*s2)/(r*(s1-s2)))

{
"sigR": "06079ec29886785f409ef5c0d3deab8e2bf7431c34e8eaca3aa8128f990977b1",
"sigS": "21fe7bb34d05653cff6f788518141c0f37926da364b696d8cae1774e1d4c17ec",
"sigZ": "508787e305c6c5a4491083406bd0d5635381c63a9f2a34853f3418f5d1bcaa4f",
"pubKey": "0298d436e7c2ca6291114c8a20f3468f0200c65e6cc5b14864125adda79f5d3189",
"N": 2
}

{
"sigR": "15eb92584d38c4c266069a775a0374da82bf6fc2ac7da5fb7c647b58aa00b1e4",
"sigS": "238795204ce124d4e4c6ed804a92c67bc056d04776d762c122efe6e095ae8025",
"sigZ": "9d252ee043e755db38d9169a540fceca7cbefc88edcf6ab155a5d53e038434b8",
"pubKey": "0298d436e7c2ca6291114c8a20f3468f0200c65e6cc5b14864125adda79f5d3189",
"N": 4

47
30440220
06079ec29886785f409ef5c0d3deab8e2bf7431c34e8eaca3aa8128f990977b1
0220
21fe7bb34d05653cff6f788518141c0f37926da364b696d8cae1774e1d4c17ec
0121

47
3044
0220
15eb92584d38c4c266069a775a0374da82bf6fc2ac7da5fb7c647b58aa00b1e4
0220
238795204ce124d4e4c6ed804a92c67bc056d04776d762c122efe6e095ae8025
0121

3044
0220
06079ec29886785f409ef5c0d3deab8e2bf7431c34e8eaca3aa8128f990977b1
0220
21fe7bb34d05653cff6f788518141c0f37926da364b696d8cae1774e1d4c17ec
01
3044
0220
15eb92584d38c4c266069a775a0374da82bf6fc2ac7da5fb7c647b58aa00b1e4
0220
238795204ce124d4e4c6ed804a92c67bc056d04776d762c122efe6e095ae8025
01

You might also like