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

Encryption and decryption method and device

A technology for encrypting, decrypting and encrypting data, applied in the field of encryption and decryption, it can solve the problems of low JavaScript security and security problems, and achieve the effect of avoiding security problems and shortening the effective period.

Inactive Publication Date: 2018-09-14
北京顶象技术有限公司
View PDF6 Cites 1 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 if it is confused, which brings serious security problems. At present, in the enterprise privatization environment with high security requirements, there is still a lack of effective A solution to the encryption security problem of javascript scripts

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 device
  • Encryption and decryption method and device
  • Encryption and decryption method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0059] 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:

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

[0061] 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

[0076] 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 encryption script sending module 510 and a decryption script sending module 520 . Wherein, the encrypted script sending module 510 is used to send the first encrypted script to the client 200, and the first encrypted script is used to encrypt the original data to generate encrypted data; the decrypted script sending module 520 is used to send the encrypted script corresponding to the first encrypted script The matching first decryption script is sent to the server 300, and the first decryption script is used to decrypt the encrypted data.

[0077] The encryption and decryption device 500 provided in the second embodiment of the present invention, its imp...

no. 3 example

[0079] 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 device. The encryption and decryption method is applied to the cloud andcomprises the following steps: the cloud sends a first encryption script to a client, the first encryption script is used for encrypting original data to generate encrypted data; and the cloud sends afirst decryption script matching the first encryption script to a server, and the first decryption script is used for decrypting the encrypted data. In the above method, the encryption and decryptionscripts are all issued by the cloud, thereby providing a way to update the encryption and decryption scripts, which is beneficial to improving the security of the data in the process of encryption and decryption. At the same time, since the cloud is only responsible for providing the encryption and decryption scripts, the real encryption and decryption process is still carried out on the client and the server. This method is suitable for application to the privatized environment of the enterprise, and the enterprise does not have to worry about the leakage of the private data.

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. Background technique [0002] At present, in network-based applications, there are many schemes for front-end encryption of data. The more common one is to encrypt data in sections with javascript scripts, and then encrypt the data to the server for decryption. Due to the low security of javascript, the front-end encrypted script can be cracked even in the case of confusion, which brings serious security problems. At present, in the enterprise privatization environment with high security requirements, there is still a lack of effective A solution to the encryption security problem of javascript scripts. Contents of the invention [0003] In view of this, an embodiment of the present invention provides an encryption and decryption method and device to solve the above technical problems. [0004] To achie...

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): H04L29/06
CPCH04L63/0428
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