Giter Site home page Giter Site logo

shamir's People

Contributors

dependabot-preview[bot] avatar julien-boudry avatar marcinlawnik avatar marclaporte avatar ogmueller avatar sgehrig avatar xelan avatar xorti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shamir's Issues

wtf is going on here!

$shares = Secret::share('Shamir's Shared Secret Implementation in PHP', 5, 2); should be

$shares = Secret::share("Shamir's Shared Secret Implementation in PHP', 5, 2");

you need to put files into includes not use vender library crap! this is a bs way of doing php in my opinion and all these files are just crap i expect 1 or 2 files not a load of files!!!

Library doesn't seem to support adding shares to an existing shared secret

Hi!
I am implementing a system, where it is required to generate extra shares once the initial quantity was generated, which can then be used in combination with some of the existing shares in order to retrieve the secret.

Basically what I'm looking for is the ability to do the following:

  1. Share a secret 'foo' with a required share count 'quorum' of 2, and generate 5 initial shares: s1, s2, s3.. s5.
  2. Suddenly, I want to generate another share in the collection (i.e. s6), which would remain consistent with both the secret and the rest of the existing shares 1-5
  3. For example, now I can provide shares s5 and s6, and it will still give me the secret 'foo'.

I personally am in great need of such a feature, and even though I realize, of course, that this is probably not a mandatory feature in general, I would very much appreciate if it were possible to incorporate it into the library.

In general though, I think this is one of the best (and only) libraries that support this valuable cryptographic function for PHP.

Regards.

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.