Giter VIP home page Giter VIP logo

Comments (4)

ottomao avatar ottomao commented on May 21, 2024

感謝!已經做了修改,當前發布在 [email protected]

from anyproxy.

Cojad avatar Cojad commented on May 21, 2024

雖然你用的1~100,000的Random, 但這樣的碰撞機率其實還是頗高的
根據wiki的生日問題, 你會發現100,000隨機數.
當你發出的certs數量
到達100組的時候, 就有約5%的碰撞機率
到達200組的時候, 就有約18%的碰撞機率
到達300組的時候, 就有約46%的碰撞機率
到達500組的時候, 就有約71%的碰撞機率
並不是每個人都會常常把.anyproxy_certs 資料夾的證書給刪掉..我覺得改用hash的方式碰撞機率比較低
畢竟那個serial是可以吃20bytes的資料量, 只用100,000的隨機數碰撞率似乎...不是很好.

from anyproxy.

ottomao avatar ottomao commented on May 21, 2024

这个random只是给rootCA用的,每个网站会有自己的hash作为serial number

ref:

var keysAndCert = getKeysAndCert(md.digest().toHex());

from anyproxy.

Cojad avatar Cojad commented on May 21, 2024

oops...看錯行...my bad...

from anyproxy.

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.