Git Product home page Git Product logo

node-password's Introduction

关于nodejs中密码加密的进一步优化,也是目前很多语言密码加密的处理方式

一、扩展(一般我们加密处理)

  • 1、利用随机数随机生成多少位数
  • 2、利用可逆加密把第一步的生成的随机数加密 可逆加密有Base64和Hex加密(具体自己百度)
  • 3、将第二步加密好的随机数与我们真实密码拼接在一起
  • 4、将第三步进行加密(MD5)
  • 5、将第四步进行可逆加密
  • 6、将第二步与第五步生成的拼接成密码

二、扩展(一般我们加密的登录)

  • 1、登录时候获取密码
  • 2、从获取的密码中截取随机数加密的那段
  • 3、重复操作上面加密的方式(3,4,5,6)

node-password's People

Contributors

kuangshp avatar

Watchers

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