Code Monkey home page Code Monkey logo

sharks's Introduction

sharks's People

Contributors

bcortier-devolutions avatar c0dearm avatar dcsunset avatar film42 avatar l4l avatar tomsanbear avatar zer0x64 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sharks's Issues

Implement Zeroize on Drop for GF256 and Share

Zeroize is a trait to securely overwrite secrets that uses compiler intrinsics to prevent the overwrite to be optimized away. It is performant and portable.

It would be nice to add the zeroize(drop) on secret data(especially the share) so it is cleared from memory when dropped. This basically reduces a lot the lifetime of sensitive data in memory to protect against memory dumps.

If you want me to implement this, just leave it to me!

ahash yanked, breaks build

ahash has yanked it's versions that are used by the older versions of hashbrown used in this library.

Is it possible to upgrade hashbrown to a newer version?

Implement concurrency where it is beneficial

It seems having some threading concurrency could be beneficial, especially for large secrets, where it could be possible to compute multiple parallel Lagrange interpolation roots, one for each secret chunk.

Maybe in some other parts is also valuable, but it needs investigation.

Tasks:

  • Investigate which parts of the code could benefit from concurrency
  • Implement threading where necessary
  • Implement unit tests for the threading
  • Implement benchmark tests for the threading
  • Check threading doesn't add much overhead for short secrets and that is very beneficial for large secrets
  • Make the number of threads a configurable parameter, with default option "auto".

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.