Code Monkey home page Code Monkey logo

lib-jingdong-app-signature's Introduction

京东签名

$ bash build-lib.sh
$
$ python3 jdsigner.py

未完整复原,大概复原了 70%。主要是加密方法 0,1 对于最后几个字节的处理未还原。

就是,如果加密数据大小如果不是8的整数倍的话,最后剩余的几个字节 (1-7个字节),会根据

switch(剩余字节数)
    case 1:
    a()
    ...
    case 7:
    g()

分情况加密处理,这七种算法不同且较长。不过把加密数据扩充到8的整数倍也可行,所以这部分没有处理。

lib-jingdong-app-signature's People

Contributors

rev1si0n 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.