Matt Whitlock [ARCHIVE] on Nostr: 📅 Original date posted:2015-01-14 📝 Original message:On Wednesday, 14 January ...
📅 Original date posted:2015-01-14
📝 Original message:On Wednesday, 14 January 2015, at 3:53 pm, Eric Lombrozo wrote:
> Internally, pubkeys are DER-encoded integers.
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?
Published at
2023-06-07 15:28:31Event JSON
{
"id": "ce05538555bd7da0f771f255e431b226e97defb09c5c417ffcc008089871d7b5",
"pubkey": "f00d0858b09287e941ccbc491567cc70bdbc62d714628b167c1b76e7fef04d91",
"created_at": 1686151711,
"kind": 1,
"tags": [
[
"e",
"ef9480e99ea56d0362e9d11aa3d3348112e8c8b0adbfbdfee1624a1e22a745a8",
"",
"root"
],
[
"e",
"492343319366ace1903c18764c8ce8c9f21c75ff7059e2cfd13a29bc51689653",
"",
"reply"
],
[
"p",
"e899768d254f3537af7e26455968583632d0ab0bd4c780445eacfa087ac80d8f"
]
],
"content": "📅 Original date posted:2015-01-14\n📝 Original message:On Wednesday, 14 January 2015, at 3:53 pm, Eric Lombrozo wrote:\n\u003e Internally, pubkeys are DER-encoded integers.\n\nI 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?",
"sig": "61c2cfc279152cdf538b9a036474ca6bf12fe5e6ddde2a46de76fad7b827a770a578e9ca45882aa62f4f5b667da56074a2fa1f05117ee9aabe42e0067dcc199f"
}