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

Streaming encryption method for text data reservation format

A text data, streaming encryption technology, applied in digital data protection, electrical digital data processing, digital data processing components and other directions, can solve the problem that the encryption algorithm cannot keep the plaintext format and cannot be searched in ciphertext, so as to improve the efficiency of encryption and decryption Effect

Active Publication Date: 2020-01-17
车轮互联科技(上海)股份有限公司
View PDF9 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem that the existing encryption algorithm cannot maintain the original plaintext format and cannot efficiently search the ciphertext, the present invention provides a stream encryption method and device for retaining the format of text data

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
  • Streaming encryption method for text data reservation format
  • Streaming encryption method for text data reservation format
  • Streaming encryption method for text data reservation format

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0054] At present, there are many kinds of encryption algorithms, representative ones are symmetric encryption AES and asymmetric encryption RAS algorithms; these two algorithms are relatively excellent in terms of performance and security. But as a general algorithm, its encrypted result is binary. And the existing general encryption algorithm has disadvantages: 1. The general encryption algorithm cannot maintain the original plaintext format, and after encry...

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 a streaming encryption method and device for a text data reservation format. The method comprises the following steps: reading plaintext characters in text data; converting theplaintext character into a uniform code; judging whether a character set to which the plaintext character converted into the uniform code belongs is a filtered character set or not; if the character set is the filtering character set, directly outputting the current plaintext character; if the character set is a non-filtering character set, performing format-reserved obfuscation processing on thecharacters in the password table corresponding to the plaintext characters to obtain an updated password table; searching an encrypted character corresponding to the plaintext character in the updatedpassword table; and taking the plaintext character and the encrypted character which are directly output as final encrypted text data. According to the method, the filtering characters and the non-filtering characters are used, so that the plaintext characters are encrypted in a targeted manner, the consistency of character formats is controlled in a finer and richer manner. The method is more suitable for encryption on network transmission through one-by-one character encryption, and the encryption and decryption efficiency is improved.

Description

technical field [0001] The invention relates to the field of data security, in particular to a method and device for stream encryption aiming at preserving the format of text data. Background technique [0002] In the actual development process, there will be such requirements: for example, a lot of historical data has been stored in the database, and now it is required to encrypt and store these data. If you use the current general encryption algorithm, all algorithms will become binary after encryption, so you need to change the data type of all fields to BLOB. If you change the binary into base64 string storage, you also need to change the data type to TEXT or CHAR type. . This method has a huge workload and high cost. In large-scale projects, this method is basically impossible to complete, so we can only choose other compromise confidentiality schemes. [0003] The general-purpose encryption algorithm cannot maintain the original plaintext format. After encryption, it...

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): G06F21/60H04L9/08H04L29/06G06F7/58
CPCG06F7/582G06F21/602H04L9/0869H04L63/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