Git Product home page Git Product logo

des-encrypt-guapo-for-python's Introduction

DES-Encrypt-Guapo-for-Python

Guapo版本DES加密的Python实现


1. DES(Guapo)介绍

该版本的DES算法是由id为guapo的用户于2006年学习DES算法时实现的,目前网络上存在JavaScript和Java版本的实现,但是Python版本的实现尚无,故本人将其实现并进行了一些修改(基于Python特性精简了冗余代码),使其更加易于使用。

guapo@51js

2. js2py -> Python 的效率提升

由于之前网络上尚无该算法的Python版本,调用该算法只能通过js2py等解析方法曲线救国,此法使用方便,但运行guapo的1000余行JavaScript则效率极低:

而将其转换为Python版本后,效率提升了近100倍:

des-encrypt-guapo-for-python's People

Contributors

albresky avatar

Stargazers

 avatar  avatar

Watchers

 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.