ZmnSCPxj [ARCHIVE] on Nostr: 📅 Original date posted:2019-06-26 📝 Original message: Thank you for your ...
📅 Original date posted:2019-06-26
📝 Original message:
Thank you for your thought.
Another idea: would it be useful to split up large data (several megabytes long) and FEC-encode it in chunks (with each chunk having a separate MAC)?
That way even if some error occurs during transmission, it is possible to recover without re-downloading entire dataset.
Especially, since we need to decrypt first, before we can confirm the MAC: if the MAC fails for the chunk, it's better if we can use data from nearby chunks to recover, rather than download and re-decrypt again.
Or is this over-engineering?
Regards,
ZmnSCPxj
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, June 26, 2019 1:41 PM, Stepan Snigirev <snigirev.stepan at gmail.com> wrote:
> Hi ZmnSCPxj,
>
> > Does this require Bob to attempt both positive and negative sign for the y-coordinate?
> > Alternately we can force Sally to always use a scalar such that generated point has a fixed sign (or some other property to derive the sign of the missing coordinate).
>
> The best would be if Sally uses the point with a fixed sign, then Bob doesn't need to try twice and can start decrypting data from stream (for example if it's a DRM key for a movie).
> Similar approach is used for R-encoding in Schnorr signatures, so we could use the same convention here.
>
> On Tue, Jun 25, 2019 at 10:18 PM ZmnSCPxj <ZmnSCPxj at protonmail.com> wrote:
>
> > Good morning Stepan, and Nadav,
> >
> > Both additions seem good idea to me.
> >
> > > - Sally generates the invoice with the preimage `S` (i.e. x-coordinate of this point to make it 32-bytes long)
> >
> > Does this require Bob to attempt both positive and negative sign for the y-coordinate?
> > Alternately we can force Sally to always use a scalar such that generated point has a fixed sign (or some other property to derive the sign of the missing coordinate).
> >
> > Regards,
> > ZmnSCPxj
Published at
2023-06-09 12:55:20Event JSON
{
"id": "1e300e8e58feacc35565964321a658bd565f69c9c9aed7b9595b5a3b6de2e9d1",
"pubkey": "4505072744a9d3e490af9262bfe38e6ee5338a77177b565b6b37730b63a7b861",
"created_at": 1686315320,
"kind": 1,
"tags": [
[
"e",
"bca8e1f8e1cd5f4d61e20ea60d71aa24d2cc8550e68649d06ca6d445ba0bcb4b",
"",
"root"
],
[
"e",
"9233863eb6e851f58ba7f3ef6841d9e7ceda362e65aa506e2c2dc9e8185fb6a5",
"",
"reply"
],
[
"p",
"30beaf829947399fbeeb7348a86be391039f59a4ce9970d65a7afc54ec6b9f68"
]
],
"content": "📅 Original date posted:2019-06-26\n📝 Original message:\nThank you for your thought.\n\nAnother idea: would it be useful to split up large data (several megabytes long) and FEC-encode it in chunks (with each chunk having a separate MAC)?\n\nThat way even if some error occurs during transmission, it is possible to recover without re-downloading entire dataset.\nEspecially, since we need to decrypt first, before we can confirm the MAC: if the MAC fails for the chunk, it's better if we can use data from nearby chunks to recover, rather than download and re-decrypt again.\nOr is this over-engineering?\n\nRegards,\nZmnSCPxj\n\nSent with ProtonMail Secure Email.\n\n‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐\nOn Wednesday, June 26, 2019 1:41 PM, Stepan Snigirev \u003csnigirev.stepan at gmail.com\u003e wrote:\n\n\u003e Hi ZmnSCPxj,\n\u003e\n\u003e \u003e Does this require Bob to attempt both positive and negative sign for the y-coordinate?\n\u003e \u003e Alternately we can force Sally to always use a scalar such that generated point has a fixed sign (or some other property to derive the sign of the missing coordinate).\n\u003e\n\u003e The best would be if Sally uses the point with a fixed sign, then Bob doesn't need to try twice and can start decrypting data from stream (for example if it's a DRM key for a movie).\n\u003e Similar approach is used for R-encoding in Schnorr signatures, so we could use the same convention here.\n\u003e\n\u003e On Tue, Jun 25, 2019 at 10:18 PM ZmnSCPxj \u003cZmnSCPxj at protonmail.com\u003e wrote:\n\u003e\n\u003e \u003e Good morning Stepan, and Nadav,\n\u003e \u003e\n\u003e \u003e Both additions seem good idea to me.\n\u003e \u003e\n\u003e \u003e \u003e - Sally generates the invoice with the preimage `S` (i.e. x-coordinate of this point to make it 32-bytes long)\n\u003e \u003e\n\u003e \u003e Does this require Bob to attempt both positive and negative sign for the y-coordinate?\n\u003e \u003e Alternately we can force Sally to always use a scalar such that generated point has a fixed sign (or some other property to derive the sign of the missing coordinate).\n\u003e \u003e\n\u003e \u003e Regards,\n\u003e \u003e ZmnSCPxj",
"sig": "6962767d16cac1e5607ecf320ea24e11f9c81ecee44364fda74b6fc9558b5c7439bbae7135dbe1b9eb07ca25ab4d3c3bb8cffde9bec0e26cc92fc55e4b4440f9"
}