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.
CN112597480AActive Publication Date: 2021-04-02BEIJING LIANSHI NETWORKS TECH CO LTD

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING LIANSHI NETWORKS TECH CO LTD
Publication Date
2021-04-02

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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