Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Encryption and decryption method and apparatus, computer storage medium and electronic device

A computer storage, encryption and decryption technology, applied in the field of encryption and decryption, can solve problems such as low security, security problems, lack of javascript script encryption security problems, etc., to achieve the effect of shortening the effective period and improving security

Inactive Publication Date: 2018-09-28
北京顶象技术有限公司
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the low security of javascript, the encrypted script at the front end can be cracked even in the case of confusion, which brings serious security problems. At present, there is still no effective solution to the encryption security problem of javascript script.

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
  • Encryption and decryption method and apparatus, computer storage medium and electronic device
  • Encryption and decryption method and apparatus, computer storage medium and electronic device
  • Encryption and decryption method and apparatus, computer storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0055] image 3 A flow chart of the encryption and decryption method provided by the first embodiment of the present invention is shown. refer to image 3 , the encryption and decryption methods include:

[0056] Step S10: the cloud 100 generates a first encrypted script and a first decrypted script.

[0057] The first encryption script is the script used when the client 200 encrypts the original data to generate encrypted data, the first decryption script is the script used when the server 300 decrypts the encrypted data to obtain the original data, the first encryption script and the first The decryption scripts have a mutual matching relationship, that is, the encrypted data generated by the first encryption script can only be decrypted by the first decryption script. Wherein, the first encryption script and the first decryption script are usually javascript scripts, which have the characteristics of being cross-platform and supporting hot update, and of course they can ...

no. 2 example

[0074] Figure 4 A functional block diagram of the encryption and decryption apparatus 500 provided by the second embodiment of the present invention is shown. refer to Figure 4 The encryption and decryption device 500 provided by the second embodiment of the present invention is applied to the cloud 100 and includes an encrypted script sending module 510 , an encrypted data obtaining module 520 , a decrypting module 530 and a decrypted data sending module 540 . Wherein, the encrypted script sending module 510 is used to send the first encrypted script to the client, and the first encrypted script is used to encrypt the original data to generate encrypted data; the encrypted data acquisition module 520 is used to receive encrypted data from the server; decrypt The module 530 is configured to use the first decryption script matching the first encryption script to decrypt the encrypted data to obtain original data; the decrypted data sending module 540 is configured to send th...

no. 3 example

[0080] The third embodiment of the present invention provides a computer storage medium. Computer program instructions are stored in the computer storage medium. When the computer program instructions are read and run by the processor of the computer, the method provided in the first embodiment of the present invention is executed. The part executed on the cloud 100. The computer storage medium can be implemented as, but not limited to figure 2 Memory 402 is shown.

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 the technical field of encryption and decryption, and provides an encryption and decryption method and apparatus, a computer storage medium and an electronic device. The encryption and decryption method is applied to the cloud and comprises the following steps: the cloud sends a first encryption script to a client, wherein the first encryption script is used for encryptingoriginal data to generate encrypted data; the cloud receives the encrypted data from a server; the cloud decrypts the encrypted data by using a first decryption script matching the first encryption script to obtain the original data; and the cloud sends the original data to the server. In the above method, the encryption script is issued by the cloud, and the decryption script is directly storedin the cloud, thereby providing a way for updating the encryption and decryption scripts, which is beneficial to improving the security of the data in an encryption and decryption process. At the sametime, the decryption process is carried out on the cloud, so that the cloud can conveniently preform the verification, and the computing burden of the server can also be reduced.

Description

technical field [0001] The present invention relates to the technical field of encryption and decryption, in particular, to an encryption and decryption method and device, a computer storage medium, and electronic equipment. Background technique [0002] At present, in network-based applications, there are many schemes for front-end data encryption. The more common method is to use javascript scripts to encrypt data in segments, and then encrypt the data to the server for decryption. Because the security of javascript is not high, the encrypted script at the front end can be cracked even in the case of confusion, which brings serious security problems. At present, there is still no effective solution to the encrypted security problem of javascript script. Contents of the invention [0003] In view of this, an embodiment of the present invention provides an encryption and decryption method and device, a computer storage medium, and an electronic device to solve the above-me...

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/06H04L29/08H04L9/08
CPCH04L9/0861H04L9/0891H04L63/0428H04L67/1097
Inventor 杜威张晓科
Owner 北京顶象技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products