Giter VIP home page Giter VIP logo

rainbowtable's Introduction

彩虹表破解Hash串

数据安全课程大作业

衰减函数(R)

更快的破解数据需要更好的衰减函数,在网上没有找到现成衰减函数,所以自己琢磨写了一个,效果不一定好

逻辑:对hash值进行一次md5运算,取后35bit,分为5个7位bit,转换成5个10进制数,从预定义的字符串里取数,组合成结果返回

Hash函数(SM3)

使用了网上线程的国密SM3算法

多进程并发

为了提高破解速率,启动了6个进程来并发,因为python的线程是逻辑并发,实际只用了一个核

6个进程生成彩虹表最后合并为一个彩虹表,完成后对这个表进行匹配,找到和要破解的Hash串一样的串的位置后向前查找原文

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.