Coder Social home page Coder Social logo

beekey_java's Introduction

云端可干扰的抗丢秘密解决方案

一.秘密分解方案

1.head 和 body 的拆分

秘密和大随机数做异或得到 body, 大随机数做为 head, 即

  • head: 随机数
  • body: 秘密和随机异或之后的结果

将 head 上传

2.body 拆分成 shadow

将 body 做门限共享秘密算法,拆分成 n 份 shadow(shadow-1, shadow-2, shadow-3, .... shadow-n),设置 k 份可以恢复(n >= k)

二.秘密恢复方案

1. body 恢复

用 k shadow 做逆门限共享密码算法恢复出 body

2.秘密恢复

从云端拉取 head, 将 head 和 body 做逆异或算法得到秘密

beekey_java's People

Contributors

guoshijiang avatar

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.