Code Monkey home page Code Monkey logo

Comments (4)

marcoonroad avatar marcoonroad commented on June 1, 2024

The paper also states that the encryption key, HMAC secret and input vector must be generated/derived from a good KDF for the Encrypt-then-MAC authenticated encryption be a committing encryption as well.

from nocoiner.

marcoonroad avatar marcoonroad commented on June 1, 2024

BUMP:

The nocoiner encryption algorithm resembles the recommended algorithm from the paper/article (snapshot/print-screen below):

Screenshot from 2019-08-04 16-04-34

We have a master key, and from that we derive an encryption key and a MAC key. The input vector is randomly generated and appended on the final commitment/cipher. Our header is the hashed process/context fingerprint. This fingerprint could not be used to associate/detect the commitment issuer 'cause these fingerprints are public, it is only used to provide a randomization context which reduces the probabilities of the distributed commitment collision. They must not be used for any kind of authentication, proof, identification, whatever...

This patch is tracked on the branch patch/throw-away-gcm.

from nocoiner.

marcoonroad avatar marcoonroad commented on June 1, 2024

Future plans might include to split this AEAD (Authenticated Encryption with Associated Data) module in a separate library. The benefits are clear, the community can use an AEAD encryption directly without relying on this library for commitment schemes and accessing the internals here.

This issue will be closed once the PR on OPAM repository is approved and merged.

from nocoiner.

marcoonroad avatar marcoonroad commented on June 1, 2024

The PR on OPAM repository was already closed.

from nocoiner.

Related Issues (2)

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.