Unlock instant, AI-driven research and patent intelligence for your innovation.

Front-end code processing method and device

A processing method and code technology, applied to encryption devices with shift registers/memory and key distribution, can solve problems such as increasing the cost of cracking keys, and achieve the effects of reducing the risk of key exposure, reducing losses, and avoiding time-consuming

Pending Publication Date: 2022-07-29
无线生活(杭州)信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method only relatively increases the cost of cracking the key, and attackers who are familiar with browser developer tools can still obtain the key relatively easily.

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
  • Front-end code processing method and device
  • Front-end code processing method and device
  • Front-end code processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.

[0054]For the encryption key of the front-end code, the current industry usually: obtain the key from the server through an interface request; store the key in the local client cache; or store the key in the obfuscated compression code of the client. However, none of the above-mentioned processing methods for encryption keys can guarantee the security of the keys. Embodiments of the present invent...

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 relates to a front-end code processing method and a front-end code processing device, which are used for reducing the key exposure risk. The method comprises the steps that a secondary secret key is acquired, and the secondary secret key is generated according to a real secret key and a preset algorithm; introducing the secondary key into a front-end code, and decrypting the secondary key according to the preset algorithm to obtain a real key and a version number; if the verification of the version number is passed, encrypting information to be encrypted in a front-end code according to the real key; and performing deep obfuscation on the front-end code to generate a front-end code file used by the browser.

Description

technical field [0001] The present disclosure relates to the field of front-end technologies, and in particular, to a method and apparatus for processing front-end codes. Background technique [0002] Since the front-end code is executed in the client's browser, it is in a public state. Anyone can get the front-end code through the browser's developer tools, so that any private information contained in the front-end code may be leaked. Therefore, some In scenarios, encryption needs to be used at the front end to improve data security. For the balance between security and performance, the industry usually adopts the AES (Advanced Encryption Standard, Advanced Encryption Standard) encryption algorithm, but how to improve the security of the AES key is the key point to ensure the security of front-end encryption. The industry usually has the following methods: [0003] Obtain the key from the server through the interface request. The essence of this method is to store the ke...

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 Applications(China)
IPC IPC(8): H04L9/06H04L9/08G06F21/60
CPCH04L9/0861H04L9/0891H04L9/065G06F21/602
Inventor 朱磊
Owner 无线生活(杭州)信息科技有限公司