prolic on Nostr: Thanks! I am not very good at C, so take it with a grain of salt. I think your tests ...
Thanks! I am not very good at C, so take it with a grain of salt. I think your tests with the original vectors must fail, because your implementation is correct and the test vectors seem to be wrong.
Published at
2024-08-31 03:35:33Event JSON
{
"id": "2660c8abd8c7cf28a44e8cf2ebc995593d4c2c9f12c0bf7eca7460bbf3c68ecc",
"pubkey": "3b8c97ae9286f01253c4f88d42d16e858c7c92513abf2f38251aff713514bce6",
"created_at": 1725075333,
"kind": 1,
"tags": [
[
"e",
"90574661a232213b6c28507189050207590164773b21f6ca4c82a19e88bda325",
"",
"root"
],
[
"e",
"8136e67d19e6164b0bd9466d0369200b6175cbc76b2cfa727b5e630bf67102ae"
],
[
"e",
"bcb4327752d56669cf9b740c69f121fd99bf5683c58857cf7a0f6dec2ef4bb27",
"",
"reply"
],
[
"p",
"3b8c97ae9286f01253c4f88d42d16e858c7c92513abf2f38251aff713514bce6"
],
[
"p",
"036533caa872376946d4e4fdea4c1a0441eda38ca2d9d9417bb36006cbaabf58"
]
],
"content": "Thanks! I am not very good at C, so take it with a grain of salt. I think your tests with the original vectors must fail, because your implementation is correct and the test vectors seem to be wrong.",
"sig": "a26c0eb767a0606f64988333f0c99849e2b5c78a3585dcdc353ba80065f3f5d200a9d8a9d016177190ec71e76b9f2551e765b6edd1c345b4d59d261b61bd103a"
}