Giter Club home page Giter Club logo

Comments (4)

daira avatar daira commented on July 19, 2024

My thinking was that it would be harder to analyse and to update the security proof if we didn't use an authenticated encryption scheme. We should revisit this because it would be a significant simplification not to have to implement or rely on Poly1305 in the circuit. (Also a slight performance improvement, but not much because Poly1305 turns out to be very circuit-efficient.)

Edit: the performance saving would be to not have to derive the Poly1305 keys using ChaCha20. But it turns out that this only saves one ChaCha20 block (assuming other known optimizations described on zcash/zcash#406).

from zips.

daira avatar daira commented on July 19, 2024

Oh, I remember the main reason I did this: the security argument for confidentiality of the encryption should be independent of the SNARK. We want everything to stay confidential even if the SNARK (and therefore the enforcement of linking between aoldsk,i and the signature) were completely broken. Confidentiality against chosen ciphertext attacks requires authenticated encryption.

from zips.

daira avatar daira commented on July 19, 2024

But yes, we should document a bunch of additional requirements and security caveats about sending coins out-of-band. (I'd almost like to say that it is not supported, but we can't enforce that it doesn't happen, so let's document it.)

from zips.

defuse avatar defuse commented on July 19, 2024

We want everything to stay confidential even if the SNARK (and therefore the enforcement of linking between aoldsk,i and the signature) were completely broken.

Ah, that's a very good reason!

from zips.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.