DNA information storage multilayer encryption method, system, device and medium

By adopting multi-layer encryption methods in DNA information storage, using AES encryption algorithm and mass spectrometry information encoding, the problem of insufficient key protection in the existing technology is solved, high-security DNA information storage is realized, and the key is strengthened Protection, suitable for a variety of information security scenarios.

CN119203187APending Publication Date: 2024-12-27SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI

Patent Information

Application Number
CN202411292342.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The existing DNA storage encryption methods only use computer encryption algorithms and do not have corresponding key protection measures, resulting in insufficient information security and difficulty in dealing with future quantum computer attacks.

Method used

Using multi-layer encryption method, the AES encryption algorithm is used to encrypt the encrypted information, and the ciphertext information is obtained and the secret key is encoded through mass spectrometry information. The two are saved together to ensure that even if it is read through DNA sequencing, it cannot be obtained. Key information.

Benefits of technology

It significantly improves the security of DNA information storage, increases the difficulty of decoding keys, prevents biological information cracking, and provides a new idea of ​​multi-dimensional information encryption in DNA information storage, which is suitable for all information security and data encryption scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119203187A_ABST
    Figure CN119203187A_ABST
Patent Text Reader

Abstract

The invention discloses a DNA information storage multilayer encryption method, system and device and a medium, and belongs to the technical field of encryption, and the method comprises the steps: obtaining to-be-encrypted information; encrypting the to-be-encrypted information to obtain a secret key and ciphertext information; performing DNA coding on the ciphertext information to obtain a DNA coding result; and encoding the secret key to obtain an encoding result of the secret key, and the method, the system, the equipment and the medium can improve the security of DNA information encryption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of encryption technology and relates to a DNA information storage multi-layer encryption method, system, equipment and medium. Background Art

[0002] DNA information storage is not only an emerging information storage technology, but also a cutting-edge research direction in the field of synthetic biology. DNA as an information storage medium has the advantages of high density, low energy consumption, and long storage cycle. It is one of the future information storage methods with great application prospects.

[0003] Since the 1990s, with the gradual popularization of computers and smart phones, the Internet has been continuously improved and expanded. Information exchange, financial transactions and information collection on the Internet have generated a huge amount of data information, and the existing disk storage and semiconductor storage methods will be unsustainable. As a result, people have noticed the ultra-high information density of DNA. Some studies have reported that 1kg of DNA can store all the information in the world. When DNA information storage truly becomes a reality and is popularized and applied, the information security in DNA will receive widespread attention.

[0004] Patent CN201210510330 proposes an asymmetric encryption and signature system, DNA-PKC, which uses DNA molecules as information carriers and utilizes the biological characteristics of DNA molecules. The key of DNA-PKC consists of an encryption key and a decryption key. Encryptors cannot decrypt each other, and only the owner of the decryption key can decrypt all ciphertexts. Both the key and ciphertext of DNA-PKC are biological molecules, and have different requirements in terms of application protocols. In terms of security, DNA-PKC is immune to attacks from future quantum computers.

[0005] Patent CN202110557922.2 provides a symmetric encryption method for DNA storage, which includes the following steps: obtaining a file to be encrypted, encrypting the binary information of the file to be encrypted according to an encryption key, and obtaining a DNA storage sequence; performing an obfuscation operation on the DNA storage sequence; synthesizing the DNA storage sequences after several obfuscation operations to obtain a DNA molecular sequence, storing the DNA molecular sequence, sequencing the DNA molecular sequence to obtain a read length, and decrypting the binary information according to the read length and the encryption key.

[0006] Existing encryption methods for DNA storage usually only use existing computer encryption algorithms and do not have corresponding key protection measures, so the security of encrypted information needs to be further improved. Summary of the invention

[0007] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a multi-layer encryption method, system, device and medium for DNA information storage, which can improve the security of DNA information encryption.

[0008] In order to achieve the above object, the present invention adopts the following technical scheme:

[0009] In one aspect, the present invention provides a multi-layer encryption method for DNA information storage, comprising:

[0010] Obtain information to be encrypted;

[0011] Encrypting the information to be encrypted to obtain a secret key and ciphertext information;

[0012] Performing DNA encoding on the ciphertext information to obtain a DNA encoding result;

[0013] The secret key is encoded to obtain an encoding result of the secret key.

[0014] The DNA information storage multi-layer encryption method of the present invention is further improved in that:

[0015] Furthermore, the process of encrypting the information to be encrypted to obtain the secret key and ciphertext information is as follows:

[0016] The information to be encrypted is encrypted using an encryption algorithm to obtain a secret key and ciphertext information.

[0017] Furthermore, the encryption algorithm includes but is not limited to: AES encryption algorithm, DES encryption algorithm, RSA encryption algorithm and SHA-256 encryption algorithm.

[0018] Furthermore, the process of performing DNA encoding on the ciphertext information to obtain the DNA encoding result is:

[0019] The Wukong coding algorithm is used to perform DNA coding on the ciphertext information to obtain a DNA coding result.

[0020] Furthermore, the process of encoding the secret key to obtain the encoding result of the secret key is:

[0021] The secret key is encoded using a mass spectrum information encoding method to obtain an encoding result of the secret key.

[0022] Furthermore, after encoding the secret key to obtain the encoding result of the secret key, the step further includes:

[0023] The DNA encoding result and the secret key encoding result are saved.

[0024] In a second aspect of the present invention, the present invention provides a DNA information storage multi-layer encryption system, comprising:

[0025] An acquisition module, used to acquire information to be encrypted;

[0026] An encryption module, used to encrypt the information to be encrypted to obtain a secret key and encrypted ciphertext information;

[0027] A first encoding module, used to perform DNA encoding on the encrypted ciphertext information to obtain a DNA encoding result;

[0028] The second encoding module is used to encode the secret key to obtain an encoding result of the secret key.

[0029] The DNA information storage multi-layer encryption system of the present invention is further improved in that:

[0030] Furthermore, it also includes:

[0031] The storage module is used to store the encoding result of the DNA information and the encoding result of the secret key.

[0032] In a third aspect of the present invention, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the multi-layer encryption method for DNA information storage when executing the computer program.

[0033] In a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and wherein the computer program, when executed by a processor, implements the steps of the multi-layer encryption method for storing DNA information.

[0034] The present invention has the following beneficial effects:

[0035] The DNA information storage multi-layer encryption method, system, device and medium described in the present invention, when in specific operation, DNA encoding is performed on the ciphertext information to obtain a DNA encoding result, and the secret key is encoded to obtain a secret key encoding result, and the secret key will be stored together with the ciphertext information. In practical application, even if the DNA sequencing reads the sequence information, the secret key information cannot be obtained, and the security is extremely high. It should be noted that the present invention is groundbreaking in multi-dimensional information encryption of DNA information, which provides a new idea for DNA information storage encryption and can be widely used in all information security and data encryption scenarios in DNA information storage. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:

[0037] Figure 1 is a flow chart of the method of the present invention;

[0038] Figure 2 This is a schematic diagram of the original encrypted file in Example 2;

[0039] Figure 3 A schematic diagram of a DNA sequence after encoding the encrypted data in Example 2;

[0040] Figure 4 This is the secret key mass spectrometry sequencing map;

[0041] Figure 5 It is a system structure diagram of the present invention. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] In the description of the present invention, it should be understood that the terms “include” and “comprises” indicate the presence of described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.

[0044] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0045] It should be further understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects are in an "or" relationship.

[0046] It should be understood that, although the terms first, second, third, etc. may be used to describe preset ranges, etc. in the embodiments of the present invention, these preset ranges should not be limited to these terms. These terms are only used to distinguish preset ranges from each other. For example, without departing from the scope of the embodiments of the present invention, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.

[0047] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention described and shown in the drawings here can usually be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0049] Various structural schematic diagrams of the embodiments disclosed in the present invention are shown in the accompanying drawings. These figures are not drawn to scale, and some details are magnified and some details may be omitted for the purpose of clear expression. The shapes of various regions and layers shown in the figures and the relative sizes and positional relationships therebetween are only exemplary, and may deviate in practice due to manufacturing tolerances or technical limitations, and those skilled in the art may additionally design regions / layers with different shapes, sizes, and relative positions according to actual needs.

[0050] Embodiment 1

[0051] In order to solve the problem that the existing encryption method of DNA storage only uses the existing computer encryption algorithm and has no corresponding key protection measures, the present invention designs a multi-layer encryption scheme, which not only uses the AES symmetric encryption algorithm, but also performs a second layer of information steganography on the key that cannot be recognized by DNA sequencing. When the information is encrypted and stored, the key will be saved together with the DNA sequence of the ciphertext, and even if the sequence information is read through DNA sequencing, the key information cannot be obtained.

[0052] Specifically, refer to Figure 1 The DNA information storage multi-layer encryption method of the present invention comprises the following steps:

[0053] 1) Obtain the information to be encrypted, encrypt it using an encryption algorithm, and obtain the ciphertext information and the secret key;

[0054] 2) performing DNA encoding on the ciphertext information to obtain a DNA encoding result;

[0055] 3) Encoding the secret key to obtain an encoding result of the secret key;

[0056] 4) Saving the DNA encoding result and the secret key encoding result.

[0057] As an implementation mode of the present invention, in step 1), the process of encrypting the information to be encrypted using the encryption algorithm is:

[0058] The information to be encrypted is encrypted using the symmetric encryption algorithm AES, as shown in Table 1. The specific process is as follows:

[0059] 11)Customize the key;

[0060] 12) Expanding the key;

[0061] Taking AES-128 as the standard, the Rijndael algorithm is used to arrange the keys and generate 11 groups of keys, where each group of keys is a 4×4 matrix;

[0062] 13) Divide the plaintext into 128-byte data blocks, then perform round key addition operations on the byte data blocks, and perform XOR operations on each group of plaintext and the current round key;

[0063] 14) Take a set of data to be encrypted, perform byte substitution, and replace each byte with the corresponding byte in the S-box;

[0064] 15) Performing a row shift operation on the replaced bytes, specifically, performing a shift operation on each row by shifting the data obtained in the previous step by n bits in the nth row;

[0065] 16) Multiplying the shifted data matrix with the pre-fixed matrix to obtain a confusion matrix;

[0066] 17) Perform round key addition operation on the confusion matrix;

[0067] 18) Repeat steps 13) to 17) 10 times to obtain the encrypted ciphertext.

[0068] Table 1

[0069]

[0070] As an implementation mode of the present invention, in step 2), the process of DNA encoding the ciphertext information to obtain the DNA encoding result is:

[0071] The ciphertext information is encoded using the Wukong encoding algorithm to obtain a DNA encoding result.

[0072] As an implementation mode of the present invention, in step 3), the process of encoding the secret key to obtain the encoding result of the secret key is:

[0073] The secret key is encoded using a mass spectrum information encoding method to obtain an encoding result of the secret key, wherein reference Figure 4 The mass spectrometry information encoding method is implemented by combining and synthesizing short DNA chains and mapping them with an alphabet, as shown in Table 2.

[0074] Table 2

[0075]

[0076] It should be noted that compared with the existing encryption technology, the present invention has a higher dimensional information decoding difficulty because the secret key is encoded, and it is difficult to obtain the secret key after being hidden. For the cracking of biological information, it is impossible to obtain encrypted data only through DNA sequencing, and the secret key is read by mass spectrometry as an original method, so it cannot be cracked by existing cracking methods. Therefore, the present invention has created a multi-dimensional information encryption scheme in the field of DNA information storage, and provided a new idea for DNA information storage encryption.

[0077] Embodiment 2

[0078] In this embodiment, a text file of personal physical examination information is encrypted using a secret key belief. The text file is as follows: Figure 2 As shown, 10 single-stranded DNAs of 1500 nt were obtained, such as Figure 3 As shown, information is preserved by synthetic genes and transfection plasmids.

[0079] It should be noted that the AES encryption algorithm involved in the above embodiments is only used for preliminary feasibility verification, and is not limited to the encryption algorithm, and is also applicable to encryption algorithms such as DES, RSA and SHA-256 that are widely used. In addition, the DNA encoding algorithm used for ciphertext information can be replaced by other same types or more efficient encoding methods. In addition, the present invention can be used in the scenes of all information security and data encryption in DNA information storage.

[0080] Embodiment 3

[0081] refer to Figure 5 The DNA information storage multi-layer encryption system of the present invention comprises:

[0082] An acquisition module, used to acquire information to be encrypted;

[0083] An encryption module, used to encrypt the information to be encrypted to obtain a secret key and ciphertext information;

[0084] A first encoding module, used to perform DNA encoding on the ciphertext information to obtain a DNA encoding result;

[0085] A second encoding module, used to encode the secret key to obtain an encoding result of the secret key;

[0086] The storage module is used to store the DNA encoding result and the secret key encoding result.

[0087] As an implementation mode of the present invention, the process of encrypting the information to be encrypted to obtain the secret key and the ciphertext information is as follows:

[0088] The information to be encrypted is encrypted using an encryption algorithm to obtain a secret key and ciphertext information.

[0089] As an implementation manner of the present invention, the encryption algorithm includes but is not limited to: AES encryption algorithm, DES encryption algorithm, RSA encryption algorithm and SHA-256 encryption algorithm.

[0090] As an implementation mode of the present invention, the process of performing DNA encoding on the ciphertext information to obtain the DNA encoding result is:

[0091] The Wukong coding algorithm is used to perform DNA coding on the ciphertext information to obtain a DNA coding result.

[0092] As an implementation manner of the present invention, the process of encoding the secret key to obtain the encoding result of the secret key is:

[0093] The secret key is encoded using a mass spectrum information encoding method to obtain an encoding result of the secret key.

[0094] The division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present application may be integrated into a processor, or may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.

[0095] Embodiment 4

[0096] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the multi-layer encryption method for DNA information storage are implemented, for example, including: obtaining information to be encrypted; encrypting the information to be encrypted to obtain a secret key and ciphertext information; DNA encoding the ciphertext information to obtain a DNA encoding result; encoding the secret key to obtain a secret key encoding result; and saving the DNA encoding result and the secret key encoding result. The memory may include a memory, such as a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk memory, etc. The processor, the network interface, and the memory are interconnected through an internal bus, and the internal bus may be an industrial standard architecture bus, a peripheral component interconnection standard bus, an extended industrial standard architecture bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory is used to store programs. Specifically, the program may include a program code, and the program code includes computer operation instructions. The memory may include a memory and a non-volatile memory, and provide instructions and data to the processor.

[0097] Embodiment 5

[0098] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the multi-layer encryption method for DNA information storage are implemented, for example, including: obtaining information to be encrypted; encrypting the information to be encrypted to obtain a secret key and ciphertext information; encoding the ciphertext information to obtain a DNA encoding result; encoding the secret key to obtain a secret key encoding result; and saving the DNA encoding result and the secret key encoding result. Specifically, the computer-readable storage medium includes, but is not limited to, for example, volatile memory and / or non-volatile memory. The volatile memory may include a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include a read-only memory (ROM), a hard disk, a flash memory, an optical disk, a magnetic disk, etc.

[0099] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0100] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0101] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0102] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A multi-layer encryption method for DNA information storage, characterized in that: include: Obtain information to be encrypted; Encrypting the information to be encrypted to obtain a secret key and ciphertext information; Performing DNA encoding on the ciphertext information to obtain a DNA encoding result; The secret key is encoded to obtain an encoding result of the secret key.

2. The DNA information storage multi-layer encryption method according to claim 1, characterized in that: The process of encrypting the information to be encrypted to obtain the secret key and ciphertext information is as follows: The information to be encrypted is encrypted using an encryption algorithm to obtain a secret key and ciphertext information.

3. The multi-layer encryption method for DNA information storage according to claim 2, characterized in that: The encryption algorithm includes but is not limited to: AES encryption algorithm, DES encryption algorithm, RSA encryption algorithm and SHA-256 encryption algorithm.

4. The multi-layer encryption method for DNA information storage according to claim 1, characterized in that: The process of DNA encoding the ciphertext information to obtain the DNA encoding result is as follows: The Wukong coding algorithm is used to perform DNA coding on the ciphertext information to obtain a DNA coding result.

5. The DNA information storage multi-layer encryption method according to claim 1, characterized in that: The process of encoding the secret key to obtain the encoding result of the secret key is: The secret key is encoded using a mass spectrum information encoding method to obtain an encoding result of the secret key.

6. The DNA information storage multi-layer encryption method according to claim 1, characterized in that: The step of encoding the secret key to obtain the secret key encoding result further includes: The DNA encoding result and the secret key encoding result are saved.

7. A multi-layer encryption system for DNA information storage, characterized in that: include: An acquisition module, used to acquire information to be encrypted; An encryption module, used to encrypt the information to be encrypted to obtain a secret key and ciphertext information; A first encoding module, used to perform DNA encoding on the ciphertext information to obtain a DNA encoding result; The second encoding module is used to encode the secret key to obtain an encoding result of the secret key.

8. The DNA information storage multi-layer encryption system according to claim 7, characterized in that: Also includes: The storage module is used to store the DNA encoding result and the secret key encoding result.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the multi-layer encryption method for DNA information storage as described in any one of claims 1-6 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the multi-layer encryption method for DNA information storage as described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Asymmetric encryption and signature method based on DNA technology

    CN103856329A

  • Symmetrical encryption method for DNA storage

    CN113315623A

Cited By

  • Blood glucose data encryption transmission method and device, equipment and storage medium

    CN121750345A