A web resource encryption method, device and storage medium

A technology of web resources and encryption methods, which is applied in the fields of instruments, calculations, and electrical digital data processing, etc., can solve problems such as the inability to realize encryption and decryption of web resources, and achieve the effects of protecting security, increasing security, and improving security

Active Publication Date: 2022-05-31
HUNAN YAOSHENG COMM TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the traditional method cannot realize the secure encryption and decryption of web resources.

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
  • A web resource encryption method, device and storage medium
  • A web resource encryption method, device and storage medium
  • A web resource encryption method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0159] refer to Figure 4 and Figure 5 , the first embodiment of the present invention provides a web page resource encryption method, comprising the following steps:

[0160] S101. The server receives a webpage resource request instruction sent by the browser.

[0161] The transmission between the browser and the server can be through the http or https protocol.

[0162] S102. The server converts the webpage resource corresponding to the webpage resource request instruction into a first sequence to be encrypted according to the webpage resource request instruction, and adds a random number before the first sequence to be encrypted to obtain a second binary sequence to be encrypted.

[0163] In this step, the webpage resource can be represented in the form of bytes (ie, plain text). The purpose of adding a random number before the first sequence to be encrypted here is to encode a random number with a length of t bits before encoding a plaintext, because the random number ...

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 discloses a webpage resource encryption method, device and storage medium. The method includes: receiving a webpage resource request instruction sent by a browser; according to the webpage resource request instruction, converting the webpage resource corresponding to the webpage resource request instruction into a first waiting Encrypt the sequence, and add a random number before the first sequence to be encrypted to obtain the second sequence to be encrypted as a binary sequence; perform source processing on the second sequence to be encrypted to obtain the third sequence to be encrypted; based on the weighted probability model Encode the encrypted sequence three times to obtain the ciphertext, and the weight coefficient of the weighted probability model is implanted with a binary password and the binary password is greater than or equal to 512 bits; the ciphertext is sent to the browser so that the browser can process the ciphertext according to the weighted probability model The ciphertext is decoded, and the browser can detect the decoding result based on the result of the information source processing. The invention can not only realize encryption and decryption of webpage resources, but also effectively protect the security of encrypted webpage resources.

Description

technical field [0001] The present invention relates to the technical field of webpage resource protection, in particular to a webpage resource encryption method, device and storage medium. Background technique [0002] Web page programs (such as Html, CSS, JavaScript, connection address, websocket data transmission, etc.) and web content (such as news, comments, graphics, video, audio, etc.) are all embodied in source code, so various content collection tools (such as CMS) , web crawlers, Baidu Google and other search engines) can easily obtain the content of web pages, resulting in the proliferation of numerous pseudo-titles, pseudo-texts, pictures and videos plagiarism. The direct access to the source code is also the main reason why Html5 cannot achieve commercial operations in the game field. [0003] Taking JavaScript as an example, the traditional method can only obfuscate the JavaScript program, which makes the program lack readability and makes it difficult to read...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/60G06F21/62G06F21/64
CPCG06F21/602G06F21/6218G06F21/64
Inventor 欧阳斌黄科廖亦凡高金定
Owner HUNAN YAOSHENG COMM TECH 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