Vitor Pamplona on Nostr: Extremely slow to decrypt messages, though. Or is it just me? New NIP-44 could send ...
Extremely slow to decrypt messages, though. Or is it just me?
New NIP-44 could send the shared key of the entire conversation back to the client instead of calling a decrypt function for every single message. That should make things a lot (10x, 20x?) faster. :)
Published at
2023-11-30 20:51:50Event JSON
{
"id": "ee6d6ebb2f675fb64f3722cd1c0c482c3f1dc3de51072b3046825dbfe538f902",
"pubkey": "460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"created_at": 1701377510,
"kind": 1,
"tags": [
[
"e",
"c0ff5a9acaa930a26e86f90899373cd9b992238236570ca0e37846016c0b857d",
"",
"root"
],
[
"e",
"02f4455b234345a058388d335ce06ac25658ef65347d025eabb186ac79a3718a"
],
[
"e",
"bb8a6c8d979c91b528f3471efdad7f97ef75f42ecd5a8cbdbe65ec099b4488ae",
"",
"reply"
],
[
"p",
"fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52"
],
[
"p",
"76c71aae3a491f1d9eec47cba17e229cda4113a0bbb6e6ae1776d7643e29cafa"
],
[
"p",
"5be6446aa8a31c11b3b453bf8dafc9b346ff328d1fa11a0fa02a1e6461f6a9b1"
],
[
"p",
"9c163c7351f8832b08b56cbb2e095960d1c5060dd6b0e461e813f0f07459119e"
]
],
"content": "Extremely slow to decrypt messages, though. Or is it just me? \n\nNew NIP-44 could send the shared key of the entire conversation back to the client instead of calling a decrypt function for every single message. That should make things a lot (10x, 20x?) faster. :) ",
"sig": "c442f0e90e5a48c9c7e99acaf4d871c8811a15056362a445f8db4d787cff5657c6711e1a03ae28cc0fba3a91e41027c2483f5d99fbd906ca38fa2b68754dd9eb"
}