Max Hillebrand on Nostr: It is fancy indeed... Naive example of homomorphic encryption: Alice has a number 5, ...
It is fancy indeed...
Naive example of homomorphic encryption:
Alice has a number 5, she multiplies it by a large number, and sends that to Bob.
Bob adds the number 3 to the large number, and sends back to Alice.
Alice now divides by her original large number, and receives 8. Bob just computed something for Alice, but Bob doesn't know the result of the computation.
Published at
2024-10-23 05:20:59Event JSON
{
"id": "030a059507dc8711d49d697f3db0231f4b295d1b2c8f908af869d8660c594fbe",
"pubkey": "b7ed68b062de6b4a12e51fd5285c1e1e0ed0e5128cda93ab11b4150b55ed32fc",
"created_at": 1729660859,
"kind": 1,
"tags": [
[
"e",
"b43b653f9c6a3a2259c066113a60493745f59ce3c38f39e46c2c3915a809d974",
"",
"root"
],
[
"e",
"9d2aef6c6b1dbd26c36f34134ccb08e707fb26f4e529e02a77a8317cb1870d57",
"",
"reply"
],
[
"p",
"b7ed68b062de6b4a12e51fd5285c1e1e0ed0e5128cda93ab11b4150b55ed32fc"
],
[
"p",
"a31a17d6778d3aac3f2d06c52094a19f056cdc7757c9f45e36339e8b34e8856e"
]
],
"content": "It is fancy indeed... \n\nNaive example of homomorphic encryption:\n\nAlice has a number 5, she multiplies it by a large number, and sends that to Bob.\n\nBob adds the number 3 to the large number, and sends back to Alice. \n\nAlice now divides by her original large number, and receives 8. Bob just computed something for Alice, but Bob doesn't know the result of the computation. ",
"sig": "012a590c5c7eabebfd45cbc0df733c527c64d277d361ca067da8e7150c8598f1f337423a270117eeb8791b4eb7c65e3748c653c5581e072735123d959bdd10b3"
}