Signature algorithm for server validation

A server, front-end server technology, applied in the computer field, can solve problems such as not easy to crack, achieve the effect of providing security and reliability, ensuring communication security, and wide application

Inactive Publication Date: 2014-08-06
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF2 Cites 37 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] First, when sending based on HTTP POST or HTTP GET requests, how to set the request parameters more effectively and less easily t

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Signature algorithm for server validation

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0044] Examples:

[0045] Assuming that the request parameters participating in the parameter signature calculation are "a1", "a2", and "a3", and their values ​​are "b1", "b2", and "b3" respectively, the parameter signature calculation method is as follows:

[0046] Step 1: Format the request parameters as "a1=b1", "a2=b2", and "a3=b3" to form a matching relationship pair.

[0047] Step 2: Arrange the matched and formatted parameter key-value pairs in ascending lexicographical order, and then splice them together, that is, "a1=b1a2=b2a3=b3". The ascending dictionary order can effectively solve the problem of matching. The order issue.

[0048] Step 3: Add the key SESSION_SECRET parameter value obtained when the user first applied for the spliced ​​string at the end;

[0049] Step 4: Perform the MD5 operation on the above string, and the MD5 value obtained is the value generated by the signature algorithm.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a signature algorithm for server validation. The signature algorithm includes the following achievement steps: when a WEB front-end server communicates with a background server, a signature is added to a request parameter, character strings are formed through a specific combination of the parameters and are spliced, the finally obtained character strings are subjected to MD5 signature to serve as a communication passing parameter; the signature is recomputed when a server end receives a request, whether the request parameter is consistent with the passing parameter is judged, and if not, it is indicated that the call request is forged or tampered with. Compared with the prior art, the signature algorithm for server validation guarantees safety in the passing process through multi-hierarchy encryption, and guarantees accuracy in the receiving process by using a matched algorithm of the signature algorithm on the server.

Description

technical field [0001] The present invention relates to the field of computer technology, and specifically relates to a signature algorithm for verifying with the server by setting the parameter content when HTTP sends the request, and performing effective matching verification on the server to achieve the effect of signature verification. Background technique [0002] In the existing technology, verification is required every time the program calls the server, and signature verification through server secure communication has become the focus of people's increasing attention. Generally, the following problems exist in the signing process: [0003] First, when sending based on HTTP POST or HTTP GET requests, how to set the request parameters more effectively and less easily to be cracked is the biggest problem that needs to be solved. Ensuring the security of the communication process is a big issue. problem. [0004] Second, how to prevent others from obtaining your user I...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/06H04L9/32
Inventor 邢伟朱坤
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products