Git Product home page Git Product logo

degfysafehttp's Introduction

我们致力于基于http协议提供安全的数据传输方法

http request header

Parameter Example Description
Asymmetric-Encryption RSA method of asymmetric encryption
Symmetric-Encryption AES method of Symmetric encryption
Degfy-Encryption-Key oUYsfweru239dsou239743 Key for Transmition

假设

  1. 存在一种不可预测的随机算法,且本算法采用 RX
  2. 本算法采用的非对称加密算法为 Acry
  3. 本算法采用的对称加密算法为 Scry
  4. 遇到加密传输的内容为 Content

Client端 发送数据

  1. 使用RX生成随机字符串 Password
  2. 使用非对称加密算法 Acry 利用公钥 PK 对 Password 加密得到密文 XPassword
  3. 使用对称加密算法 Scry 利用 Password 对 Content 加密得到密文 XContent
  4. 填充Http协议的数据

Server端 解析数据

Server端 发送数据

Client端 解析数据

degfysafehttp's People

Stargazers

 avatar

Watchers

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