Jean-Pierre Rupp [ARCHIVE] on Nostr: 📅 Original date posted:2015-01-15 📝 Original message:A public key is a point in ...
📅 Original date posted:2015-01-15
📝 Original message:A public key is a point in the elliptic curve. As such it has an X and
a Y component. Its serialization is described very succintly here:
https://en.bitcoin.it/wiki/Protocol_specification#SignaturesOn 15/01/15 01:17, Matt Whitlock wrote:
> I thought pubkeys were represented as raw integers (i.e., they're embedded in Script as a push operation whose payload is the raw bytes of the big-endian representation of the integer). As far as I know, DER encoding is only used for signatures. Am I mistaken?
--
Be Happy :)
Published at
2023-06-07 15:28:31Event JSON
{
"id": "2c57e7d4d877bf84ff4d416b77157d80f6ebbeb74d8dcbf1324bd48c67d3e020",
"pubkey": "26f7e62ba6dc9195d80cbebfe2bde09da82ebce54e39e84c507693470894a669",
"created_at": 1686151711,
"kind": 1,
"tags": [
[
"e",
"ef9480e99ea56d0362e9d11aa3d3348112e8c8b0adbfbdfee1624a1e22a745a8",
"",
"root"
],
[
"e",
"ce05538555bd7da0f771f255e431b226e97defb09c5c417ffcc008089871d7b5",
"",
"reply"
],
[
"p",
"f00d0858b09287e941ccbc491567cc70bdbc62d714628b167c1b76e7fef04d91"
]
],
"content": "📅 Original date posted:2015-01-15\n📝 Original message:A public key is a point in the elliptic curve. As such it has an X and\na Y component. Its serialization is described very succintly here:\n\nhttps://en.bitcoin.it/wiki/Protocol_specification#Signatures\n\nOn 15/01/15 01:17, Matt Whitlock wrote:\n\u003e I thought pubkeys were represented as raw integers (i.e., they're embedded in Script as a push operation whose payload is the raw bytes of the big-endian representation of the integer). As far as I know, DER encoding is only used for signatures. Am I mistaken?\n\n-- \nBe Happy :)",
"sig": "f00e268e021922efc9d15473bd9d1fb317322071ecf4701c2eba3484350df34aab0ddc2e9f5b2bc1bdbba7eb4b20ea37162aaf59c25968947f6742fd4b7c98c5"
}