An Encryption Method Based on rc4 Algorithm for Encryption of Code

An encryption method and code technology, applied in the field of code all-inclusive encryption based on RC4 algorithm, can solve the problem of not really solving the problem of Html, Javascript, Css code encryption protection, increase the difficulty of code reading, etc., so that the use experience is not affected, Has the effect of ease of use and improved security

Active Publication Date: 2021-01-08
YONYOU NETWORK TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Well-known cross-platform APP development technology providers at home and abroad, such as Phonegap, Appcelerator, etc., have no good countermeasures for the encryption and protection of Html, Javascript, and Css codes. simple protection, but the code is still readable plain text, does not really solve the encryption protection problem of Html, Javascript, Css code

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
  • An Encryption Method Based on rc4 Algorithm for Encryption of Code
  • An Encryption Method Based on rc4 Algorithm for Encryption of Code
  • An Encryption Method Based on rc4 Algorithm for Encryption of Code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0051]The present invention proposes a kind of code all-encompassing encryption method based on RC4 algorithm, the Html, Javascript, Css source code encryption method based on standard RC4 symmetric encryption algorithm, mainly used in the field of mobile application (APP) development. The present invention encrypts the Html, Javascript, and Css codes of the APP on the server side, encrypts the abstract of the digital certificate of the APP, and compiles the APP installation package; when the mobile terminal user installs and star...

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 an RC4 algorithm-based code full-packet encryption method. The method comprises the steps of subjecting the codes of an APP to encryption treatment by a server based on an RC4 algorithm; after the APP is started to run, extracting an MM1 and an SS2, and restoring the MM1 and the SS2 to a global ciphertext secret key M1 and an abstract ciphertext S2 based on a secret key private algorithm; obtaining an abstract secret key M3 from the abstract of the M1, and adopting the M3 as a secret key to encrypt the digital certificate signature digest S3 of the APP based on the RC4 algorithm so as to obtain a certificate abstract ciphertext S4; judging whether the certificate abstract ciphertext S4 is consistent with the abstract ciphertext S2 or not; and decrypting the code encryption file of the APP by a client. According to the invention, based on the combination of a standard RC4 symmetric encryption algorithm and a private key generation algorithm, the effects of high efficiency and good safety are achieved at the same time.

Description

technical field [0001] The invention relates to the technical field of mobile terminals, in particular to an RC4 algorithm-based all-inclusive code encryption method. Background technique [0002] Since the birth of HTML5 technology, the encryption protection of Html, Javascript, and CSS codes is still a huge problem. Mobile APP developed based on HTML5 cross-platform technology, by decompressing its installation package, you can use any code editor to directly view the source code, resulting in product ideas being copied, core code stolen, private data leaked, and intellectual property rights violated And a series of problems, serious ones even affect the security of the server. [0003] Well-known cross-platform APP development technology providers at home and abroad, such as Phonegap, Appcelerator, etc., have no good countermeasures for the encryption and protection of Html, Javascript, and Css codes. Simple protection, but the code is still readable plain text, does no...

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): H04L9/28H04L9/32H04L9/08G06F21/60G06F21/12
CPCG06F21/125G06F21/602H04L9/0863H04L9/3228H04L9/3263
Inventor 刘鑫
Owner YONYOU NETWORK 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