Git Product home page Git Product logo

Comments (3)

apoelstra avatar apoelstra commented on July 22, 2024

You can use this for one-time-pads, by doing 2-of-2 secret sharing where you start with your original secret, generate a random share (the "encryption key") and derive another share (the "ciphertext"). It will be more complex and time-consuming than a dedicated OTP scheme, but on the other hand your ciphertext will be checksummed.

But this scheme's goal is not to do OTP, but to do Shamir Secret Sharing, so the two schemes aren't really substitutes for each other.

from codex32.

roconnor-blockstream avatar roconnor-blockstream commented on July 22, 2024

Also an OTP doesn't really come with a checksum to check your work. If you make an error with an OTP then it is unrecoverable. I mean, you can maybe bolt on a checksum, but if you do then you will reproduce 90% of using our scheme in a 2-of-2 setting.

In short an OTP can be simulated with our scheme using the 2-of-2 setting. If you use our scheme you also get a checksum and can detect and recover from errors.

from codex32.

roconnor-blockstream avatar roconnor-blockstream commented on July 22, 2024

P.S. I've opened up the discussions forum which is a great place for questions like this. If you are not satisfied with the answers here, feel free to resubmit your question to the discussion section.

from codex32.

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.