SatsAndSports on Nostr: In the Cashu channels, I'm using a DiffieHellman shared secret to add a little more ...
In the Cashu channels, I'm using a DiffieHellman shared secret to add a little more privacy in places. For example, it's used to compute the channel_id in order to make it more difficult for third parties to guess what the channel_id would be between two parties.
But AI has helped me realize that both parties should immediately hash the shared_secret upon computing it. In practice, this probably doesn't help much, but it's nice to hide any algebraic structure any time it's possible
you might say I'm overthinking this 😀. But it's fun to give these tasks to AI and continue watching a movie on a Sunday night while it executes:
Published at
2026-02-08 23:17:54 UTCEvent JSON
{
"id": "cadad7dac6f60201830f074a2482b08cda74dc94801f5e6fc61913e13c3263dd",
"pubkey": "12ee03d11684a125dd87be879c28190415be3f3b1eca6b4ed743bd74ffd880e6",
"created_at": 1770592674,
"kind": 1,
"tags": [
[
"imeta",
"url https://image.nostr.build/827f1db985c32ab6c469f2a530d832bea63ccf40b08115c65c5797edf66d7257.png",
"ox 827f1db985c32ab6c469f2a530d832bea63ccf40b08115c65c5797edf66d7257",
"x 2f1a97e3e2f77923a21756583dd3d5c804509a1046ab682852f3c7e3c309ab70",
"m image/png",
"dim 706x170",
"bh LGQm9ftQxu%2t7WBt7j[~qaeRjbH",
"blurhash LGQm9ftQxu%2t7WBt7j[~qaeRjbH",
"thumb https://image.nostr.build/thumb/827f1db985c32ab6c469f2a530d832bea63ccf40b08115c65c5797edf66d7257.png"
],
[
"imeta",
"url https://image.nostr.build/554579a646f559682d996f4c3b1d7fb28bcdfd3dd37eecf79c82ce52279557c6.png",
"ox 554579a646f559682d996f4c3b1d7fb28bcdfd3dd37eecf79c82ce52279557c6",
"x 062b5625da1805c7b7af0af15d279eef721e40284b2f81d257e0c65236424e58",
"m image/png",
"dim 1202x247",
"bh LESF;Lt4%1?H_3ofWBof~qofRjof",
"blurhash LESF;Lt4%1?H_3ofWBof~qofRjof",
"thumb https://image.nostr.build/thumb/554579a646f559682d996f4c3b1d7fb28bcdfd3dd37eecf79c82ce52279557c6.png"
]
],
"content": "In the Cashu channels, I'm using a DiffieHellman shared secret to add a little more privacy in places. For example, it's used to compute the channel_id in order to make it more difficult for third parties to guess what the channel_id would be between two parties.\n\nBut AI has helped me realize that both parties should immediately hash the shared_secret upon computing it. In practice, this probably doesn't help much, but it's nice to hide any algebraic structure any time it's possible\n\nhttps://image.nostr.build/827f1db985c32ab6c469f2a530d832bea63ccf40b08115c65c5797edf66d7257.png\n\nyou might say I'm overthinking this 😀. But it's fun to give these tasks to AI and continue watching a movie on a Sunday night while it executes:\n\nhttps://image.nostr.build/554579a646f559682d996f4c3b1d7fb28bcdfd3dd37eecf79c82ce52279557c6.png",
"sig": "237fed941ea3e45e559b3e9a11836aa685b336da128528a49da76111d67ae00fd5b23902ba648e678da4657f39d976a1bad3c9043e919c13875bd43d28ec6d57"
}