Implementation mode of extensible format preserving encryption method

An encryption method and format retention technology, which can be used in instruments, digital data authentication, electrical digital data processing, etc.

Active Publication Date: 2021-04-02
BEIJING LIANSHI NETWORKS TECH CO LTD
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] According to the principle of FPE encryption, the implementation of the FPE method depends on a message space. Since the message space is uncertain, different encrypted objects have different message spaces. Therefore, if you want to perform FPE encryption on a new encrypted object, you need Modify the underlying code to adapt to the new message space, which brings great inconvenience to the practicability of FPE

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
  • Implementation mode of extensible format preserving encryption method
  • Implementation mode of extensible format preserving encryption method
  • Implementation mode of extensible format preserving encryption method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Below, refer to the attached Figure 1-2 Specific embodiments of the present invention will be described.

[0041] Due to the limitation of each field type in the database, when encrypting the database, it is usually necessary to use a format-preserving encryption method, so that the encrypted ciphertext and the plaintext have the same field type. The embodiment is described by taking the format-preserving encryption and decryption of the user sensitive information database as an example.

[0042] The user's mobile phone number, ID card number and e-mail information stored in the user sensitive information database used in the embodiment need to be encrypted, and the corresponding field names defined in the database are PhoneNum, ID and Email respectively.

[0043] Specifically, for an implementation method of an extensible format-preserving encryption method according to an embodiment of the present invention, refer to the attached figure 1 , the encryption process s...

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 implementation mode of an extensible format-preserving encryption method, which comprises the following steps: firstly, judging the type of a field to be encrypted in a usersensitive information database, determining whether the field belongs to a common message space or not, and if so, according to a character set identifier of data, acquiring a specific character set in a common message space defined in the program in advance; and if not, expanding a new message space, and obtaining a newly-added character set; mapping plaintext character strings needing to be encrypted through the character sets obtained respectively, and encoding the plaintext character strings into plaintext numeric strings; encrypting to obtain a ciphertext numeric string; and finally, selecting a character set of the message space according to the character set identifier, and performing inverse mapping on the encrypted ciphertext numeric string to obtain ciphertext character strings with the same format, thereby finishing encryption. By defining and configuring the message space, the configurable and extensible FPE message space is realized, the new message space does not need tobe adapted by modifying a bottom layer code, and the practicability of the FPE encryption method is improved.

Description

technical field [0001] The invention belongs to the field of data encryption, and in particular relates to an implementation of an extensible format-preserving encryption method. Background technique [0002] With the rapid development of computer technology and network technology, the security problem of sensitive information leakage is becoming more and more serious. The most fundamental way to protect sensitive information is to encrypt it through cryptography. However, in structured encryption and decryption application scenarios such as databases, encryption using traditional block ciphers usually expands data, changes the length and type of data, and leads to modification of the database structure and application programs. [0003] In response to the above problems, Spies proposed a format-preserving encryption technology. Format-Preserving Encryption (FPE) is an emerging branch in the field of information security and privacy protection. It is a new type of encrypti...

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/46G06F40/126
CPCG06F21/46G06F40/126
Inventor 钱晶王芷玲白小勇
Owner BEIJING LIANSHI NETWORKS 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