Ocean information encryption communication system based on NTRU

By introducing device fingerprints and ocean noise into the ocean information encrypted communication system, combined with jump ciphertext splitting and multi-path collaborative communication, the problems of NTRU's insufficient resistance to continuous leakage and low encryption and decryption efficiency in the ocean environment are solved, achieving High fault tolerance and security, and reduced ciphertext bandwidth.

CN118748799APending Publication Date: 2024-10-08SHANGHAI MARITIME UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410854483.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

Existing NTRU-based cryptographic schemes have problems such as insufficient resistance to continuous leakage, low encryption and decryption efficiency, and large ciphertext expansion in encrypted communications in marine environments, and are not suitable for bandwidth-limited underwater acoustic sensor nodes.

Method used

A marine information encryption communication system based on NTRU is designed. The device fingerprint generator assists hydroacoustic sensor nodes and surface base stations to generate device fingerprints. The public and private key generation module is used to generate public and private keys, and ocean noise is introduced for key generation. and encryption, combining skip ciphertext splitting and multi-path collaborative communication to improve resistance to continuous leakage and security.

Benefits of technology

It improves the resistance to continuous leakage of encrypted communication in the marine environment, enhances the fault tolerance and security of the system, reduces the ciphertext bandwidth, and ensures forward secrecy and quantum resistance through the key update mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748799A_ABST
    Figure CN118748799A_ABST
Patent Text Reader

Abstract

The invention relates to an NTRU-based ocean information encryption communication system, which comprises an underwater acoustic sensor node, a relay node, a water surface base station and an equipment fingerprint generator, and is characterized in that the underwater acoustic sensor node comprises a key packaging module, a session key master updating module and a dynamic early warning module; the key packaging module comprises a session key generation sub-module, an encryption sub-module and a compression sub-module, and the equipment fingerprint generator is used for assisting the underwater acoustic sensor node and the water surface base station to generate respective specific equipment fingerprints. Compared with the prior art, the method has the advantages of forward confidentiality, continuous leakage resistance and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cryptography, and in particular to an NTRU-based marine information encryption communication system. Background Art

[0002] It is particularly important to ensure the security of marine communications. Considering the complexity of underwater acoustic media and the low-speed propagation characteristics of underwater acoustic signals, underwater acoustic channels are recognized as one of the most challenging communication channels. The key to secure encrypted communication in underwater acoustic channels is to build a secure cryptographic system. The current cryptographic systems are mainly divided into two categories: symmetric cryptographic systems and asymmetric cryptographic systems. Symmetric cryptographic systems use the same key for encryption and decryption, which is efficient and fast. Representative algorithms include DES and AES. Asymmetric cryptographic systems use different keys for encryption and decryption, including public keys and private keys. They are more secure but slower. Typical algorithms include RSA and ECC. In view of the security of asymmetric cryptographic systems and the efficiency of symmetric cryptographic systems, the combination of the two is called a hybrid cryptographic scheme. The hybrid cryptographic scheme uses a symmetric key to encrypt information, then uses a public key to encrypt the symmetric key and send it to the receiver along with the ciphertext. The receiver then uses the private key to decrypt the symmetric key, and finally uses the symmetric key to decrypt the ciphertext. However, it is very time-consuming to perform such operations each time, and key encapsulation solves this defect. Key encapsulation is to first use an asymmetric encryption algorithm to transmit the session key, and then use the session key for efficient symmetric encryption communication. This scheme not only ensures security, but also improves efficiency, becoming the balance point between security and efficiency in network communications. In practical applications, key encapsulation schemes are widely used to ensure data security and confidentiality.

[0003] However, with the rapid development of quantum computing technology, the difficult problems that traditional cryptography relies on can be easily cracked by quantum algorithms, which poses new challenges to network security. In order to meet this challenge, the National Institute of Standards and Technology (NIST) of the United States launched a solicitation for post-quantum cryptographic schemes to find new cryptographic schemes that can resist quantum computing attacks. Among the many schemes, the cryptographic scheme based on NTRU lattice design is very popular. As a fast public key cryptographic system, NTRU (Number Theory Research Unit, public key system) has excellent security performance, but its encryption / decryption efficiency is low and the ciphertext expansion is large. In order to improve the performance of NTRU, researchers considered the general framework of NTRU and proposed D-NTRU, which improves the encryption and decryption efficiency while reducing the ciphertext expansion of the NTRU algorithm. However, the D-NTRU scheme only considers communication in general environments in design, and does not consider special scenarios in complex ocean noise environments. In addition, some parameters are not fully protected, so this scheme is not suitable for encrypted communication of marine information. In addition, due to the confidentiality of information transmitted by the ocean, a single communication channel on land is no longer suitable for underwater environments. In addition, due to the characteristics of double encryption of D-NTRU, the bandwidth for transmitting two ciphertexts is large and it cannot be applied to underwater acoustic sensor nodes with limited bandwidth. Summary of the invention

[0004] The purpose of the present invention is to provide an NTRU-based marine information encryption communication system with improved resistance to continuous leakage.

[0005] The purpose of the present invention can be achieved by the following technical solutions:

[0006] An NTRU-based marine information encryption communication system includes an underwater acoustic sensor node, a relay node, a surface base station and a device fingerprint generator.

[0007] The device fingerprint generator is used to assist the hydroacoustic sensor node and the surface base station in generating sensor device fingerprints and base station device fingerprints respectively;

[0008] The surface base station: comprises a public-private key generation module and a key decapsulation module. The surface base station is used to extract parameters through the base station device fingerprint, input the parameters into the public-private key generation module to generate a public key and a private key, broadcast the public key to the underwater acoustic sensor node, and receive the compressed ciphertext transmitted by the underwater acoustic sensor node, and use the key decapsulation module to decapsulate the compressed ciphertext;

[0009] The underwater acoustic sensor node comprises a key encapsulation module, which is used to extract plain text through the sensor device fingerprint, encrypt the plain text according to the public key generated by the public-private key generation module to obtain cipher text, further compress the cipher text to obtain compressed cipher text, and transmit the compressed cipher text to the surface base station;

[0010] The relay node is used to assist the underwater acoustic sensor node in transmitting the compressed ciphertext to the surface base station.

[0011] Furthermore, the step of generating the sensor device fingerprint includes:

[0012] Obtain the environmental characteristics and the hardware characteristics of the hydroacoustic sensor node to generate a challenge Cg, Cg = (cg1, cg2, ... cg i ,...,cg m ), cg i Indicates the acquired characteristics, including current water temperature, water depth, water pressure, existing storage capacity, MAC address, and response speed;

[0013] The hydroacoustic sensor node inputs a challenge Cg to the device fingerprint generator;

[0014] The device fingerprint generator generates a response R←(At,Cg) based on the received challenge Cg, where At=(s1,s2,...,s k ,...,s m ), s k Represents the characteristic cg k The corresponding generated vector;

[0015] The hydroacoustic sensor node performs weighted processing on the responses generated by the device fingerprint generator in ω k For the attribute cg k The corresponding weights, For k The result after weighted processing;

[0016] calculate Get the preliminary sensor device fingerprint, where L M For preliminary sensor device fingerprint;

[0017] For L M Perform binarization to obtain the final sensor device fingerprint in Fingerprint of the sensor device.

[0018] Furthermore, the step of generating the base station device fingerprint includes:

[0019] Obtain the hardware characteristics of the surface base station to generate a challenge Cg, Cg = (cg1, cg2, ..., cg m ), cg i Indicates the acquired characteristics;

[0020] The surface base station inputs the challenge Cg to the device fingerprint generator;

[0021] The device fingerprint generator generates a response R←(At,Cg) based on the received challenge Cg, where At=(s1,s2,...,s m ), s k Represents the acquired feature cg k Corresponding to the generated vector, k = 1, 2, ..., m;

[0022] Weighting the responses generated by the device fingerprint generator in in ω k For the characteristic cg k The corresponding weights, For k The result after weighted processing;

[0023] calculate Get the preliminary base station device fingerprint, where L K It is the preliminary base station equipment fingerprint;

[0024] For L K Perform module Q processing to obtain the final base station device fingerprint. in It is the base station device fingerprint.

[0025] Furthermore, the steps of generating the public key and the private key by the public-private key generation module include:

[0026] Get the extracted parameters (N, p, q1, q2, d), where N, p are prime numbers, q1, q2 are integers, d is a positive integer, and gcd(p, q1) = gcd(q1, q2) = 1, q1+2 = q2 ≈ q, and gcd(p, q1) is the greatest common factor of p and q1;

[0027] From the base station device fingerprint Extract the polynomials f and g from in contains 4d+1 elements, and their values ​​all fall within the ring R q superior, Each coefficient in the polynomials f and g comes from the distribution f in R p The inverse element on f in Rq1 The inverse element on For g in R q1 The inverse element of , and satisfies the following:

[0028]

[0029]

[0030] In the formula, is the multiplication operation;

[0031] calculate And further calculate and generate the public key pk:

[0032] pk=(h1',h2')

[0033] h1'=h1+n1

[0034] h2'=h2+n2

[0035] In the formula, pk0 is the initially generated public key, h1←R q1 It means that each coefficient of the polynomial h1 is taken from the ring R q1 , h2←R q2 Each coefficient of the polynomial h2 is taken from the ring R q2 , n1 is a randomly extracted small ocean noise polynomial, and n1 is a multiple of q1, n2 is a randomly extracted small ocean noise polynomial, and n2 is a multiple of q2;

[0036] calculate And further calculate and generate the private key sk:

[0037] sk=(f,f p -1 ,G')

[0038] G'=G+n3

[0039]

[0040] Where sk0 is the initially generated private key, G is part of the private key sk, G' is the part of the private key after adding ocean noise, and q1 is p -1 and g q1 -1 The modulus of the multiplication result, n3 is a randomly extracted small ocean noise polynomial, and n3 is a multiple of q1.

[0041] Furthermore, the key encapsulation module includes a session key generation submodule, an encryption submodule and a compression submodule, wherein the session key generation submodule is used to generate a session key according to the fingerprint of the sensor device. Extracting plaintext, the encryption submodule is used to encrypt the plaintext according to the public key to obtain encapsulated ciphertext, and the compression submodule is used to compress the encapsulated ciphertext to obtain compressed ciphertext;

[0042] Session key generation submodule:

[0043] Device fingerprint via the sensor Extracting Plaintext in Represents the plaintext space composed of sensor device fingerprints;

[0044] The key generation algorithm K-gen() is used with M as input to derive the session key K and the random number r. The derivation process of the session key K is similar to a hash map K-gen(): {0,1} * →(Θ,COINS), COINS is the random number space, Θ is the session key space for deriving the session key, and a clock is generated after the session key K is generated. The session key is updated after each time T:

[0045] K0=K

[0046] K i =UPDT-K(K i-1 ), i=1,2,...,k

[0047] Among them, K0 is the initially generated session key, K i is the session key after the initial session key is updated i times, UPDT-K() is a one-way function used to update the session key, and satisfies the following two properties:

[0048] If x=y, then UPDT-K(x)=UPDT-K(y);

[0049] For y = UPDT-K(x), if we only know y, we cannot get x;

[0050] Encryption submodule:

[0051] Input the plaintext M, public key pk and random number r, where h1←R q1 It means that each coefficient of the polynomial h1 is taken from the ring R q1 , h2←R q2 Each coefficient of the polynomial h2 is taken from the ring R q2 , n1 is a randomly extracted small ocean noise polynomial, and n1 is a multiple of q1, n2 is a randomly extracted small ocean noise polynomial, and n2 is a multiple of q2, p is a prime number, q1, q2 are integers, For f in R q1The inverse element on the base station device is The polynomial extracted from

[0052] The random number r is passed through the hash H:COINS→(COINS r1 ,COINS r2 ) is mapped into two random number polynomials r1, r2;

[0053] Use public key h1 to calculate the encapsulated ciphertext To hide the random polynomial r1;

[0054] Use random polynomials r1, r2 and public key h2 to encrypt plaintext M to obtain encapsulated ciphertext

[0055] Compression submodule:

[0056] The encapsulated ciphertext c1 and c2 are compressed using the compression function Compress() to obtain the compressed ciphertext The compressed ciphertext The expression is:

[0057]

[0058] Where d is the degree of compression of the ciphertext.

[0059] Furthermore, the underwater acoustic sensor node also includes a session key master update module, which is used to update the session key K generated by the key encapsulation module, wherein a hash function is used as a key update function for updating, and the key update function is recorded as UPDT-K(), which satisfies the following two characteristics:

[0060] If x=y, then UPDT-K(x)=UPDT-K(y);

[0061] For y = UPDT-K(x), if we only know y, we cannot get x;

[0062] Among them, x and y are the two input data of UPDT-K() respectively.

[0063] Furthermore, the key decapsulation module includes a decompression submodule and a decryption submodule, wherein the decompression submodule is used to decompress the ciphertext Decompress the ciphertext C to obtain the ciphertext C, and the decryption submodule is used to decrypt the ciphertext C according to the private key to obtain the compressed ciphertext

[0064] Unpack the submodule:

[0065] Receive the compressed ciphertext Use the decompression function Decompress() to decompress and get the ciphertext The decompression function Decompress() is:

[0066]

[0067] In the formula, q1, q2 are integers, is the compressed ciphertext, and d is the degree of compression of the ciphertext;

[0068] Decryption submodule:

[0069] Input the private key generated by the public-private key generation module and the ciphertext C=(c1, c2) decompressed by the decompression submodule;

[0070] Using f and f p -1 Decryption yields the polynomial in Indicates polynomial multiplication, p is the modulus, and f is the fingerprint of the base station device. The polynomial obtained by extracting f p -1 is f in R p The inverse element on R p is a polynomial ring with modulus p;

[0071] Calculate the polynomial Where G = (p -1 g q1 -1 ) q1 , G is a partial private key;

[0072] Decrypted according to polynomials r1 and r2 M' is the plaintext obtained by decryption;

[0073] The plaintext M is used as input to derive the session key K' and the random number r' using the key generation algorithm K-gen(). After the session key K' is generated, a clock is generated, and the session key is updated after each time T:

[0074] K0=K

[0075] K i =UPDT-K(K i-1 ), i=1,2,...,k

[0076] Among them, UPDT-K() is the update function of the session key, K0 is the initially generated session key, K i is the session key after the initial session key is updated i times, and K is the session key derived by the session key generation submodule;

[0077] The public key pk is generated by the public-private key generation module to encrypt M' to obtain C'=(c1',c2'), where r1', r2' is r' through hash H:COINS→(COINS r1 ,COINS r2 ) is mapped, h1←R q1 It means that each coefficient of the polynomial h1 is taken from the ring R q1 , h2←R q2 Each coefficient of the polynomial h2 is taken from the ring R q2 ;

[0078] Compress C'=(c1',c2') to get the compressed ciphertext Among them, the expression of compressed ciphertext is:

[0079]

[0080] In the formula, Compress() is the compression function.

[0081] Furthermore, the surface base station further comprises a session key sub-update module, and the session key sub-update module is used to update the session key K' generated by the key decapsulation module by using a key update function UPDT-K().

[0082] Furthermore, the compressed ciphertext is transmitted to the surface base station by combining jump ciphertext splitting and multi-path cooperative communication. The specific steps include:

[0083] The hydroacoustic sensor node sets the clock T t (i, j) = t0, t0>0, where T t (i,j) represents the clock set when sender i sends the tth ciphertext to receiver j. The clock is started each time a ciphertext is sent. It is forbidden to send ciphertext to the same receiver again before the clock countdown ends.

[0084] The compressed ciphertext obtained by the underwater acoustic sensor node Perform jump splitting and block processing to obtain multiple ciphertext blocks

[0085] Distribute the multiple ciphertext blocks to different relay nodes to transmit the ciphertext block content R through different paths i t , where the transmitted ciphertext block content R i t for:

[0086]

[0087] In the formula, R it represents the ciphertext block content contained in path i at time t, N pa is the number of paths, A is the signal sent by the sender. p is the time-varying amplitude of the pth path, τ p is the delay of the pth path, is the equivalent noise, including background noise and model mismatch noise, a p is the time delay τ p The first derivative of ;

[0088] The surface base station receives all ciphertext blocks [D1',D2',...,D k-1 ',D k '], and use the wavelet denoising function to denoise and get [D1,D2,...,D k-1 ,D k ], and then merge and convert to get the ciphertext

[0089] Furthermore, the hydroacoustic sensor node further includes a dynamic early warning module, and the execution steps of the dynamic early warning module include:

[0090] The hazard index is calculated using the hazard distribution within the radius r of the hydroacoustic sensor node Where k is the total number of dangerous nodes within radius r, d r (j,i) represents the danger index of the ith dangerous party within the radius r of the jth hydroacoustic sensor node;

[0091] The risk index D j Normalize and get the risk weight Among them, ω j is the hazard weight, N is the number of underwater acoustic sensor nodes, D i is the danger index of the i-th path;

[0092] According to the risk weight ω j The danger levels are divided, and the hydroacoustic sensor nodes with the highest danger level are maintained in combination with the theory of infectious disease dynamics.

[0093] Compared with the prior art, the present invention has the following beneficial effects:

[0094] (1) The present invention adopts a device fingerprint generator to assist the hydroacoustic sensor node and the surface base station in generating the sensor device fingerprint and the base station device fingerprint. The surface base station generates the public key and the private key by using the base station device fingerprint, thereby ensuring the specificity and unforgeability of the key. The hydroacoustic sensor node uses the sensor device fingerprint to extract the plaintext and encrypts and encapsulates the plaintext using the public key, thereby improving the resistance of encrypted communications to continuous leakage in the marine environment.

[0095] (3) Higher fault tolerance: The present invention introduces additional ocean noise during the key generation stage and the ciphertext transmission process. Facing the threat of quantum computing technology, the introduction of noise makes the ciphertext difficult to analyze and attack, thereby increasing the difficulty for attackers to crack the encryption system.

[0096] (4) Higher security: 1) When ciphertext is transmitted, the ciphertext is first converted and then divided into blocks for multi-path collaborative communication. In this way, even if the enemy intercepts the ciphertext on a certain path and successfully decrypts it, it cannot completely obtain the complete content, thereby ensuring the security of the system; 2) The present invention uses double-encrypted NTRU in the encryption stage and hides the random polynomial r1 during the encryption process, thereby enhancing the security of the system while ensuring the quantum resistance of the system; in addition, the present invention designs a ciphertext compression and decompression function of the double NTRU encryption algorithm, which reduces the ciphertext bandwidth without destroying the plaintext; 3) The present invention also sets up a dynamic early warning module, which can find dangerous nodes and take corresponding measures to eliminate the danger.

[0097] (5) Forward secrecy: Forward secrecy means that even after the key is leaked, the past communication content remains confidential. To address the potential risk of key leakage, the present invention sets up a key update mechanism. The session key will be automatically updated according to the clock. The update uses the one-way function UPDT-K(), so that it is difficult for an attacker to calculate the key before the update based on the updated key. Therefore, the forward security and anti-continuous leakage of the encryption system are guaranteed.

[0098] (6) Quantum resistance: The security of the encryption and decryption scheme designed by the present invention can be reduced to the shortest vector problem on the lattice, which has the characteristic of resisting quantum computing attacks. BRIEF DESCRIPTION OF THE DRAWINGS

[0099] Figure 1 It is a schematic diagram of the system structure of the present invention;

[0100] Figure 2 It is a schematic diagram of ciphertext block transmission of the present invention;

[0101] Figure 3 A schematic diagram of generating a public-private key pair according to the present invention;

[0102] Figure 4This is a key encapsulation and decapsulation flow chart of the present invention. DETAILED DESCRIPTION

[0103] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.

[0104] This embodiment provides a marine information encryption communication system based on NTRU, such as Figure 1As shown, the system includes an underwater acoustic sensor node 1, a relay node 2, a surface base station 3 and a device fingerprint generator 4. Among them, the underwater acoustic sensor node 1 includes a key encapsulation module 11, a session key master update module 12, and a dynamic warning module 13. The key encapsulation module 11 includes a session key generation submodule 111, an encryption submodule 112 and a compression submodule 113. The relay node 2 assists the underwater acoustic sensor node 1 and the surface base station 3 in communicating. The surface base station 3 includes a public-private key generation module 31, a key decapsulation module 32 and a session key slave update module 33, wherein the key decapsulation module 32 includes a decompression submodule 321 and a decryption submodule 322. The device fingerprint generator 4 is used to assist the underwater acoustic sensor node 1 and the surface base station 3 in generating their respective unique device fingerprints. The surface base station 3 uses the device fingerprint generated by the device fingerprint generator 4 to extract parameters, and passes the parameters to the public-private key generation module 31 to generate public keys and private keys. The use of device fingerprints to generate keys ensures the uniqueness and unforgeability of the keys. Then the surface base station 3 sends the public key to the hydroacoustic sensor node 1 in the form of broadcast. The hydroacoustic sensor node 1 uses the device fingerprint generator 4 to generate the device fingerprint of the hydroacoustic sensor node 1. The session key generation submodule 111 in the hydroacoustic sensor node 1 extracts the plaintext through the device fingerprint and obtains the session key and random number through the plaintext. Then the encryption submodule 112 of the hydroacoustic sensor node 1 uses the public key of the surface base station 3 to encrypt the plaintext. In order to improve the fault tolerance of the encryption and decryption algorithm, this system considers the complex ocean noise and introduces additional ocean noise in the key generation stage and the encryption stage, thereby enhancing the randomness of key generation and encryption without affecting the efficiency and correctness of encryption and decryption. Then, the compression submodule 113 in the hydroacoustic sensor node 1 compresses the ciphertext to obtain the compressed ciphertext. At this point, the hydroacoustic sensor node 1 completes the encapsulation of the session key. The hydroacoustic sensor node 1 sends the compressed ciphertext to the surface base station 3, and the relay node 2 assists in the transmission of the compressed ciphertext during the transmission process. In order to cope with the complex marine environment, this system adopts a method combining jump ciphertext splitting and multi-path cooperative communication to transmit ciphertext to enhance the security of the system, ensuring that even if the enemy intercepts the ciphertext of a certain path, it is difficult to obtain complete information. After the surface base station 3 receives the compressed ciphertext, its key decapsulation module 32 first uses the decompression submodule 321 to decompress the compressed ciphertext, and then the decryption submodule 322 uses the private key generated with the assistance of the device fingerprint generator 4 to decrypt the decompressed ciphertext and judge its accuracy. In addition, after the session key is successfully transmitted, the session key master update module 12 in the underwater acoustic sensor node 1 and the session key slave update module 33 in the surface base station 3 will regularly update the session key, thereby ensuring the forward security and anti-continuous leakage of the system.Finally, the hydroacoustic sensor node 1 also includes a dynamic warning module 13, which detects dangers within a certain range of the hydroacoustic sensor node 1 and processes dangerous nodes, thereby maintaining the security of the communication node. Specifically, the steps of implementing encrypted communication of marine information in the system include:

[0105] 1. Key encapsulation module 11:

[0106] 1.1 Generate the device fingerprint of the underwater acoustic sensor node 1:

[0107] 1) Select the environmental attributes and the characteristics of the hardware of the underwater acoustic sensor node 1 to generate the challenge Cg, Cg = (cg1, cg2, ..., cg m ), cg i Indicates the specific attributes selected, such as current water temperature, water depth, water pressure, existing storage capacity, MAC address, response speed, etc.

[0108] 2) The hydroacoustic sensor node 1 inputs the challenge Cg to the device fingerprint generator 4 .

[0109] 3) The device fingerprint generator 4 generates a response R←(At,Cg) according to the received challenge Cg, where At=(s1,s2,...,s m ), s k Indicates the specific attribute cg k The corresponding generated vector.

[0110] 4) Weighting the response generated by the device fingerprint generator 4 in ω k For the attribute cg k The corresponding weight.

[0111] 5) Calculation The device fingerprint of the underwater acoustic sensor node 1 is initially formed.

[0112] 6) For L M Perform binary processing to obtain the device fingerprint of underwater acoustic sensor node 1

[0113] 1.2 Generate a session key based on the session key generation submodule 111:

[0114] 1) Hydroacoustic sensor node 1 obtains its device fingerprint Extracting Plaintext in Indicates the plaintext space consisting of device fingerprints.

[0115] 2) Using the key generation algorithm K-gen() with M as input, the session key K and random number r are derived. The key derivation process is similar to a hash map K-gen(): {0,1} * →(Θ,COINS), where COINS is the random number space and Θ is the session key space of the derived session key. After the session key K is generated, a clock is generated, and the session key is updated every time T: K0 = K; K i =UPDT-K(K i-1 ), i = 1, 2, ..., k. UPDT-K() is a one-way function used to update the session key, which satisfies the following two properties: (1) if x = y, then UPDT-K(x) = UPDT-K(y); (2) y = UPDT-K(x), if y is known, x cannot be obtained.

[0116] 1.3 Encapsulation based on encryption submodule 112:

[0117] 1) Input plain text M, public key pk and random number r to the key encapsulation module 11 of the hydroacoustic sensor node 1, where pk is the public key generated by the surface base station 3 and transmitted to the hydroacoustic sensor node 1 through broadcast.

[0118] 2) The random number r is hashed through H:COINS→(COINS r1 ,COINS r2 ) is mapped into two random number polynomials r1 and r2.

[0119] 3) Use public key h1 to calculate the encapsulated ciphertext In order to achieve the effect of hiding the random polynomial r1.

[0120] 4) Use random polynomials r1, r2 and public key h2 to encrypt the plaintext M to obtain the encapsulated ciphertext The purpose of multiplying M by q2 / 2 in the ciphertext c2 here is to promote M to the high-order bits, thereby avoiding the destruction of plaintext bits in the subsequent compression process.

[0121] 1.4 Compression based on compression submodule 113:

[0122] 1) The underwater acoustic sensor node 1 uses the compression function Compress() to compress the encapsulated ciphertext c1 and c2. This compression function not only compresses the ciphertext, but also discards some low-order bits in the ciphertext c1 and c2. These low-order bits have little effect on the decryption correctness of the ciphertext. Discarding them can make the ciphertext structure more compact. The entire ciphertext C consists of two parts, c1 and c2. The compressed ciphertext

[0123] 2) Return compressed ciphertext and a random number r.

[0124] 2. Key decapsulation module 32:

[0125] The key decapsulation operation is performed after the surface base station 3 receives the ciphertext, and the specific steps are as follows.

[0126] 2.1 Generate public and private keys based on the public and private key generation module 31:

[0127] like Figure 3 As shown, the steps of the public and private key generation module 31 are:

[0128] (1) Parameter extraction. The surface base station 3 selects parameters (N, p, q1, q2, d). N and p are prime numbers, q1 and q2 are integers, and they satisfy gcd(p, q1) = gcd(q1, q2) = 1, q1 + 2 = q2 ≈ q.

[0129] (2) Generate the device fingerprint of the surface base station 3 and extract the polynomials f and g.

[0130] 1) Select the environmental attributes and the hardware characteristics of the surface base station 3 equipment to generate the challenge Cg, Cg = (cg1, cg2, ..., cg m ), cg i Indicates the specific attributes selected, such as existing storage capacity, MAC address, response speed, etc.

[0131] 2) The surface base station 3 inputs the challenge Cg to the device fingerprint generator 4.

[0132] 3) The device fingerprint generator 4 generates a response R←(At,Cg) according to the challenge Cg input received, where At=(s1,s2,...,s m ), s k Indicates the specific attribute cg k The corresponding generated vector.

[0133] 4) Weighting the response generated by the device fingerprint generator 4 in ω k For the attribute cg k The corresponding weight.

[0134] 5) Calculation Initially form the device fingerprint.

[0135] 6) For L K Perform module q processing, make contains 4d+1 elements, and their values ​​all fall within the ring R q superior.

[0136] 7) From Extract the polynomial f and the polynomial g from . This means that each coefficient in the polynomials f and g comes from the distribution The specific operation is to The first 2d+1 values ​​in are used as coefficients of the polynomial f. The remaining 2d values ​​in are used as coefficients of the polynomial g. Both f and g are N-dimensional polynomials. Calculate in f in R p The inverse element on f in R q1 The inverse element on For g in R q1 The inverse of the above. Satisfaction, And satisfied,

[0137]

[0138] If not satisfied, redistribute Extract the polynomial f and the polynomial g from .

[0139] (3) Generate public key pk: Calculate in Represents multiplication between polynomials, h2←R q2 Each coefficient of the polynomial h2 is taken from the ring R q2 pk=(h1',h2'), h1'=h1+n1, h2'=h2+n2, where n1 is a randomly extracted small ocean noise polynomial, and n1 is a multiple of q1; n2 is a randomly extracted small ocean noise polynomial, and n2 is a multiple of q2.

[0140] (4) Generate private key sk: Calculate in, The subscript outside the brackets is q1, which means p -1 and g q1 -1 The result after multiplication is modulo q1. G'=G+n3, where n3 is a randomly extracted small ocean noise polynomial and n3 is a multiple of q1. sk=(f,f p -1 ,G').

[0141] After the surface base station 3 generates its public-private key pair (pk, sk), it publishes the public key pk in the form of broadcasting so that the hydroacoustic sensor node 1 can encrypt the plain text using the public key of the surface base station 3 .

[0142] 2.2 Decompression based on decompression submodule 321:

[0143] Surface base station 3 receives the compressed ciphertext sent by underwater acoustic sensor node 1 After that, use the decompression function Decompress() to decompress it.

[0144]

[0145] After decompression, the ciphertext is obtained

[0146] 2.3 Decapsulation based on the decryption submodule 322:

[0147] like Figure 4 In the key encapsulation and decapsulation process shown, the decapsulation steps of the decryption submodule 322 are:

[0148] 1) Input the private key sk generated by the surface base station 3 and the ciphertext C = (c1, c2) received and decompressed by the surface base station 3;

[0149] 2) Use f and f p -1 Decrypted in, Indicates polynomial multiplication, p is the modulus, and f is the fingerprint of the device from the surface base station 3 The polynomial obtained by extracting f p -1 is f in R p The inverse element on;

[0150] 3) Calculate Where G = (p -1 g q1 -1 ) q1 ;

[0151] 4) Use the obtained polynomials r1 and r2 to decrypt

[0152] 5) Use the key generation algorithm K-gen() with M as input to derive the session key K' and the random number r'. After the session key K' is generated, a clock is generated, and the session key is updated every time T: K0 = K; K i =UPDT-K(K i-1 ), i = 1, 2, ..., k. UPDT-K() is the update function of the session key.

[0153] 6) Use the public key of the surface base station 3 Encrypt the decrypted M'. r1', r2' is r' through hash H:COINS→(COINS r1 ,COINSr2 ) is mapped.

[0154] 7) Compress C'=(c1',c2') to obtain compressed ciphertext in,

[0155]

[0156] 8) Compare the received compressed ciphertext and the re-encrypted and compressed ciphertext If the two are equal, K'=K, that is, K' is the session key transmitted by the hydroacoustic sensor node 1; otherwise, it returns empty, that is, the decryption fails.

[0157] 3. Relay node 2 transmits:

[0158] First, the hydroacoustic sensor node 1 extracts the session key and encapsulates the session key using the public key of the surface base station 3. Then the hydroacoustic sensor node 1 converts it into a signal wave through a modem for transmission. During the transmission process, the multi-path cooperative communication method is used. Before sending the signal, the ciphertext is jump-split and then sent to different relay nodes 2. The relay nodes 2 cooperate with each other to send the signal to the surface base station 3. Finally, after the signal reaches the surface base station 3, the surface base station 3 assembles the ciphertext and performs wavelet denoising on the received signal, and then demodulates it to the original ciphertext. Finally, the receiver uses its own private key to decapsulate the ciphertext to obtain the session key K.

[0159] 3.1 Ciphertext jump splitting:

[0160] First, the compressed ciphertext generated by the underwater acoustic sensor node 1 Convert it into a matrix form. Then divide each column into a group and split it, record it as D1, D2, ..., D k-1 , D k , distribute it to different relay nodes 2. It propagates through different paths and finally arrives at the surface base station 3 for assembly, decompression and decryption Dec(D1||D2||...||D k-1 ||D k ), k>0, k∈Z. In this way, even if attacked by an ocean attacker, and he obtains the ciphertext D in a certain path j j And successfully decrypted, the attacker only gets the fragmented ciphertext (c j ,c 2j ,...,c nj / k ), it is impossible to piece together the complete information, or even the complete fragment information, and it is impossible to calculate the session key K, thereby enhancing the system's anti-leakage ability.

[0161] 3.2 Ciphertext transmission:

[0162] like Figure 2 As shown in the figure, the ciphertext blocks are transmitted through different paths, and the ciphertext contents transmitted by different paths are represented by R, R i t Represents the ciphertext content contained in path i at time t. Among them, N pa is the number of paths, A is the signal sent by the sender. p is the time-varying amplitude of the pth path, τ p is the delay of the p-th path. is the equivalent noise, It includes background noise and model mismatch noise.

[0163] In order to deal with the situation that the signal blocks arrive at the surface base station 3 at different times during the transmission process, the method of sending in blocks and adding a protection interval during the transmission process is used. Add a time interval between two ciphertext transmissions. If the ciphertext is too long, it can be sent in blocks, and a protection interval should also be added between blocks. The specific construction method of the protection interval is to set a time interval T between two ciphertext block transmissions. g , the transmission time of each ciphertext block is T, T b1 =T+T g The specific process is as follows: the underwater acoustic sensor node 1 wants to send three ciphertexts C_1, C_2, and C_3. C_1 and C_3 are very long, so they need to be transmitted in blocks, (C_1, C_2, C_3) → (C_11, C_12, C_2, C_31, C_32). After the blocks are divided, the ciphertext blocks to be transmitted are waiting for transmission in turn. After each ciphertext block is transmitted, the timing starts. After T g The next ciphertext block will be transmitted after T. b1 The data is then transmitted to the surface base station 3.

[0164] 4. Post-maintenance

[0165] 4.1 Key update based on session key master update module 12 and session key slave update module 33:

[0166] After a certain time interval T, in order to ensure the freshness of the session key, the underwater acoustic sensor node 1 and the surface base station 3 update the key according to the agreed method. The agreed update function is sent to the receiver together when the session key is transmitted for the first time. In order to ensure the forward security and collision resistance of the encryption system, the key update function must satisfy the one-way property. In this scheme, a hash function is selected as the update function, denoted as UPDT-K(). This function is a one-way function and satisfies the following two characteristics: (1) If x = y, then UPDT-K(x) = UPDT-K(y); (2) y = UPDT-K(x), if y is known, x cannot be obtained. Starting from the first successfully transmitted session key K, the session keys are

[0167] K0=K, K1=UPDT-K(K0),...,K i-1 =UPDT-K(K i-2 ), K i =UPDT-K(K i-1 ).

[0168] Therefore, due to the variability of the session key of the system of the embodiment of the present invention, the key is irregular, so even if the ocean attacker obtains the ciphertext of multiple previous communications and various related information through a side channel attack, the ocean attacker cannot find any pattern to crack the session key and thus crack the ciphertext. In addition, due to the forward security and anti-continuous leakage of the encryption system in this article, even if the session key is cracked, all keys and related encrypted content before that time period are still safe.

[0169] 4.2 Dynamic warning based on dynamic warning module 13:

[0170] The specific design process of the dynamic early warning function is as follows:

[0171] Detect the danger index within the surrounding radius r, and calculate a danger index using the distribution of dangerous nodes within the radius r of the node in the ocean environment k is the total number of dangerous nodes within the radius r of the node, where d r (j,i) represents the danger index of the ith dangerous party within the radius r of the jth hydroacoustic sensor node 1. The danger index d r (j,i) It is obtained by the underwater acoustic sensor node j broadcasting a large number of plaintexts m within the radius r, and then calculating the ratio of the number of intercepted plaintexts to the total number of broadcasts, and then calculating the danger index D of each node j Perform normalization processing, Where N is the number of underwater acoustic sensor nodes 1 in the system, according to the risk weight ω jDivide the danger level into 1, 2, 3, and 4. Then analyze it in combination with the theory of infectious disease dynamics. Maintain the nodes with danger level 4. The specific maintenance measures are: initialize the underwater acoustic sensor node 1, and then re-check the device fingerprint. Generate a key, then perform key encapsulation in sequence to transfer the session key. And update the key after a certain period of time to meet forward security and resistance to continuous leakage.

[0172] Encryption and decryption performance analysis:

[0173] To analyze the encryption and decryption performance, the operations in the encryption and decryption process are divided into two categories: addition and multiplication. We need to consider how many bits are needed to perform an addition operation and how many bits are needed to perform a multiplication operation. The bit operation amount for performing an addition operation is A. N,p , the bit operation amount performed in one multiplication operation is M N,p .

[0174] A N,p =2Nlog2p

[0175]

[0176] The encryption cost is EC, the encryption speed is ES, and the encryption speed quotient of the two is calculated to compare the encryption speed of the proposed scheme with that of the traditional NTRU. Among them ES N Represents the encryption speed of the traditional NTRU algorithm, ES D Represents the encryption speed of the algorithm in this system, represents the encryption overhead of the algorithm in this system, represents the encryption overhead of the traditional NTRU algorithm; decryption overhead is DC, decryption speed is DS, and to compare the decryption speed of the proposed scheme with that of the traditional NTRU, the quotient of the decryption speeds of the two is calculated. in represents the decryption overhead of the traditional NTRU algorithm, Represents the decryption overhead of the algorithm in this system, DS D Represents the decryption speed of the algorithm in this system, DC N Represents the decryption speed of the traditional NTRU algorithm. The parameter set selected in this embodiment and its corresponding results are shown in Table 1 below. From the results in the table, it can be seen that the encryption speed is faster than ρ E >1, decryption speed is faster than ρ D >1, that is, the encryption speed is faster than the traditional NTRU encryption speed, and the decryption speed is also faster than the traditional NTRU decryption speed. Therefore, the encryption and decryption speeds are optimized in this scheme. In addition, the results of selecting different parameters will be different. Choosing appropriate parameters can get a larger ρ.

[0177] Table 1 Comparison of encryption and decryption speed between this embodiment and NTRU

[0178]

[0179] Analysis of Ciphertext Bandwidth and Ciphertext Expansion

[0180] The ciphertext bandwidth and ciphertext expansion of the embodiment of the present invention are analyzed. The data set (N, p, q1, q2, d) = (157, 3, 269, 271, 52) is selected as the data of the embodiment of the present invention and DNTRU, and (N, p, q, d) = (157, 3, 256, 52) is selected as the data of the traditional NTRU. Experiments are carried out. The results are shown in Table 2. C and L M They represent the ciphertext length and the plaintext length respectively, Et represents the ciphertext extension. The ciphertext bandwidth in the embodiment of the present invention is reduced by 33% compared with D-NTRU, the ciphertext extension in the embodiment of the present invention is reduced by 23% compared with D-NTRU, and is reduced by 73% compared with traditional NTRU.

[0181] Table 2 Comparison of ciphertext expansion between this embodiment and other solutions

[0182] <![CDATA[L C / b]]> <![CDATA[L M / b]]> E NTRU 1256 248.84 5.05 D-NTRU 2536.12 1268.89 1.99 This embodiment scheme 1696.13 1268.89 1.34

[0183] Security Analysis

[0184] The embodiment of the present invention provides sufficient security strategies in design. First, through jump ciphertext splitting and multi-path cooperative communication, the secure transmission of ciphertext is realized. Even if it is assumed that the adversary can intercept the ciphertext information on a certain path by various means, it is difficult for the adversary to decipher the complete information, thereby ensuring the security of ciphertext transmission. In addition, after the session key K is transmitted through key encapsulation, the session key will be updated in time according to the clock set by the system and the key update function UPDT-K(), so that even if the adversary obtains the session key at a certain moment, it cannot infer the previous key, thereby ensuring the forward security and anti-continuous leakage of the communication system.

[0185] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0186] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A marine information encryption communication system based on NTRU, It is characterized in that It includes an underwater acoustic sensor node (1), a relay node (2), a surface base station (3) and a device fingerprint generator (4), The device fingerprint generator (4) is used to assist the underwater acoustic sensor node (1) and the surface base station (3) in generating a sensor device fingerprint and a base station device fingerprint respectively; The surface base station (3) comprises a public-private key generation module (31) and a key decapsulation module (32). The surface base station (3) is used to extract parameters through the base station device fingerprint, input the parameters into the public-private key generation module (31) to generate a public key and a private key, broadcast the public key to the underwater acoustic sensor node (1), and receive the compressed ciphertext transmitted by the underwater acoustic sensor node (1), and use the key decapsulation module (32) to decapsulate the compressed ciphertext; The underwater acoustic sensor node (1) comprises a key encapsulation module (11), the key encapsulation module (11) is used to extract plain text through the fingerprint of the sensor device, encrypt the plain text according to the public key generated by the public-private key generation module (31) to obtain cipher text, further compress the cipher text to obtain compressed cipher text, and transmit the compressed cipher text to the surface base station (3); The relay node (2) is used to assist the underwater acoustic sensor node (1) in transmitting the compressed ciphertext to the surface base station (3).

2. According to claim 1, a marine information encryption communication system based on NTRU, It is characterized in that The steps of generating the sensor device fingerprint include: Obtain the environmental characteristics and the hardware characteristics of the hydroacoustic sensor node (1) to generate a challenge Cg, Cg = (cg 1 ,cg 2 ,...cg i ,...,cg m ), cg i Indicates the acquired characteristics, including current water temperature, water depth, water pressure, existing storage capacity, MAC address, and response speed; The hydroacoustic sensor node (1) inputs a challenge Cg to the device fingerprint generator (4); The device fingerprint generator (4) generates a response R←(At,Cg) according to the received challenge Cg, where At=(s 1 ,s 2 ,...,s k ,...,s m ), s k Indicates the characteristic cg k The corresponding generated vector; The hydroacoustic sensor node (1) performs weighted processing on the response generated by the device fingerprint generator (4) in ω k For the attribute cg k The corresponding weights, For k The result after weighted processing; calculate Get the preliminary sensor device fingerprint, where L M For preliminary sensor device fingerprint; For L M Perform binarization to obtain the final sensor device fingerprint in Fingerprint of the sensor device.

3. According to claim 1, a marine information encryption communication system based on NTRU, It is characterized in that The steps of generating the base station device fingerprint include: Obtain the hardware characteristics of the surface base station (2) to generate a challenge Cg, Cg = (cg 1 ,cg 2 ,...,cg m ), cg i Indicates the acquired characteristics; The surface base station (2) inputs the challenge Cg to the device fingerprint generator (4); The device fingerprint generator (4) generates a response R←(At,Cg) according to the received challenge Cg, where At=(s 1 ,s 2 ,...,s m ), s k Represents the acquired feature cg k Corresponding to the generated vector, k = 1, 2, ..., m; Weighting the responses generated by the device fingerprint generator (4) in in ω k For the characteristic cg k The corresponding weights, For k The result after weighted processing; calculate Get the preliminary base station device fingerprint, where L K It is the preliminary base station equipment fingerprint; For L K Perform module Q processing to obtain the final base station device fingerprint. in It is the base station device fingerprint.

4. According to claim 1, a marine information encryption communication system based on NTRU, It is characterized in that The steps of generating the public key and the private key by the public and private key generation module (31) include: Get the extracted parameters (N, p, q 1 ,q 2 ,d), where N, p are prime numbers, q 1 ,q 2 is an integer, d is a positive integer, and satisfies gcd(p,q 1 )=gcd(q 1 ,q 2 )=1,q 1 +2=q 2 ≈q, gcd(p,q 1 ) for p and q 1 The greatest common factor of ; From the base station device fingerprint Extract the polynomials f and g from in contains 4d+1 elements, and their values ​​all fall within the ring R q superior, Each coefficient in the polynomials f and g comes from the distribution For f in R p The inverse element on For f in R q1 The inverse element on For g in R q1 The inverse element of , and satisfies the following: In the formula, is the multiplication operation; calculate And further calculate and generate the public key pk: pk=(h 1 ’,h 2 ’) h 1 ’=h 1 +n 1 h 2 ’=h 2 +n 2 In the formula, pk 0 is the initially generated public key, h 1 ←R q1 Represents the polynomial h 1 Each coefficient of is taken from the ring R q1 ,h 2 ←R q2 Represents the polynomial h 2 Each coefficient of is taken from the ring R q2 , n 1 is a randomly extracted small ocean noise polynomial, and n 1 for q 1 Multiples of n 2 is a randomly extracted small ocean noise polynomial, and n 2 for q 2 multiples of; calculate And further calculate and generate the private key sk: sk=(f,f p -1 ,G’) G’=G+n 3 In the formula, sk 0 is the initially generated private key, G is part of the private key sk, G' is the part of the private key after adding ocean noise, q 1 For p -1 and g q1 -1 The modulus of the multiplication result, n 3 is a randomly extracted small ocean noise polynomial, and n 3 for q 1 multiples of.

5. According to claim 1, a marine information encryption communication system based on NTRU, It is characterized in that The key encapsulation module (11) comprises a session key generation submodule (111), an encryption submodule (112) and a compression submodule (113), wherein the session key generation submodule (111) is used to generate a session key according to the fingerprint of the sensor device. Extract the plaintext M, and the encryption submodule (112) is used to encrypt the plaintext M according to the public key to obtain the encapsulated ciphertext c 1 , c 2 The compression submodule (113) is used to compress the encapsulated ciphertext to obtain a compressed ciphertext Session key generation submodule (111): Device fingerprint via the sensor Extracting Plaintext in Represents the plaintext space composed of sensor device fingerprints; The key generation algorithm K-gen() is used with M as input to derive the session key K and the random number r. The derivation process of the session key K is similar to a hash map K-gen(): {0,1} * →(Θ,COINS), COINS is the random number space, Θ is the session key space for deriving the session key, and a clock is generated after the session key K is generated. The session key is updated after each time T: K 0 =K K i =UPDT-K(K i-1 ),i=1,2,...,k Among them, K 0 is the initially generated session key, K i is the session key after the initial session key is updated i times, UPDT-K() is a one-way function used to update the session key, and satisfies the following two properties: If x=y, then UPDT-K(x)=UPDT-K(y); For y = UPDT-K(x), if we only know y, we cannot get x; Encryption submodule (112): Input the plaintext M, public key pk and random number r, where h 1 ←R q1 Represents the polynomial h 1 Each coefficient of is taken from the ring R q1 ,h 2 ←R q2 Represents the polynomial h 2 Each coefficient of is taken from the ring R q2 , n 1 is a randomly extracted small ocean noise polynomial, and n 1 for q 1 Multiples of n 2 is a randomly extracted small ocean noise polynomial, and n 2 for q 2 multiples of, p is a prime number, q 1 ,q 2 is an integer, For f in R q1 The inverse element on the base station device is The polynomial extracted from ; The random number r is passed through the hash H:COINS→(COINS r1 ,COINS r2 ) is mapped to two random number polynomials r 1 , r 2 ; Using public key h 1 Calculate the encapsulated ciphertext Take the random polynomial r 1 To hide; Using random polynomial r 1 , r 2 and the public key h 2 Encrypt the plaintext M to obtain the encapsulated ciphertext Compression submodule (113): For the encapsulated ciphertext c 1 , c 2 Use the compression function Compress() to compress the ciphertext to obtain the compressed ciphertext The compressed ciphertext The expression is: In the formula, d is a positive integer, which indicates the degree of compression of the ciphertext.

6. According to claim 5, a marine information encryption communication system based on NTRU, It is characterized in that The underwater acoustic sensor node (1) further comprises a session key master update module (12), wherein the session key master update module (12) is used to update the session key K generated by the key encapsulation module (11), wherein a hash function is used as a key update function for updating, and the key update function is denoted as UPDT-K(), which satisfies the following two characteristics: If x=y, then UPDT-K(x)=UPDT-K(y); For y = UPDT-K(x), if we only know y, we cannot get x; Among them, x and y are the two input data of UPDT-K() respectively.

7. According to claim 1, a marine information encryption communication system based on NTRU, It is characterized in that The key decapsulation module (32) comprises a decompression submodule (321) and a decryption submodule (322), wherein the decompression submodule (321) is used to decompress multiple compressed ciphertexts. The ciphertext C is decompressed and the decryption submodule (322) is used to decrypt the ciphertext C according to the private key to obtain the compressed ciphertext Unzip submodule (321): Receive the compressed ciphertext Use the decompression function Decompress() to decompress and get the ciphertext The decompression function Decompress() is: In the formula, q 1 ,q 2 is an integer, is the compressed ciphertext, and d is the degree of compression; Decryption submodule (322): Input the private key generated by the public-private key generation module (31) and the ciphertext C decompressed by the decompression submodule (321) = (c 1 ,c 2 ); Using f and f p -1 Decryption yields the polynomial in Indicates polynomial multiplication, p is the modulus, and f is the fingerprint of the base station device. The polynomial obtained by extracting f p -1 is f in R p The inverse element on R p is a polynomial ring with modulus p; Calculate the polynomial Where G = (p -1 g q1 -1 ) q1 , G is a partial private key; According to the polynomial r 1 、r 2 Decrypted M' is the plaintext obtained by decryption; The plaintext M is used as input to derive the session key K' and the random number r' using the key generation algorithm K-gen(). After the session key K' is generated, a clock is generated, and the session key is updated after each time T: K 0 =K K i =UPDT-K(K i-1 ),i=1,2,...,k Among them, UPDT-K() is the update function of the session key, K 0 is the initially generated session key, K i is the session key after the initial session key is updated i times, K is the session key derived by the session key generation submodule (111); The public key pk generated by the public-private key generation module (31) is used to encrypt M' to obtain C'=(c 1 ',c 2 '), where r 1 ', r 2 'for r' by hash H:COINS→(COINS r1 ,COINS r2 ) is mapped, h 1 ←R q1 Represents the polynomial h 1 Each coefficient of is taken from the ring R q1 ,h 2 ←R q2 Represents the polynomial h 2 Each coefficient of is taken from the ring R q2 ; For C' = (c 1 ',c 2 ') Compress to get the compressed ciphertext Among them, the compressed ciphertext The expression is: In the formula, Compress() is the compression function.

8. According to claim 7, a marine information encryption communication system based on NTRU, It is characterized in that The surface base station (3) also includes a session key sub-update module (33), and the session key sub-update module (33) is used to update the session key K' generated by the key decapsulation module (32) using a key update function UPDT-K().

9. According to claim 1, a marine information encryption communication system based on NTRU, It is characterized in that The compressed ciphertext is transmitted to the surface base station (3) by combining jump ciphertext splitting and multi-path cooperative communication. The specific steps include: The hydroacoustic sensor node (1) sets the clock T t (i,j)=t 0 , t 0 >0, where T t (i,j) represents the clock set when sender i sends the tth ciphertext to receiver j. The clock is started each time a ciphertext is sent. It is forbidden to send ciphertext to the same receiver again before the clock countdown ends. The compressed ciphertext obtained by the underwater acoustic sensor node (1) Perform jump splitting and block processing to obtain multiple ciphertext blocks Distribute the plurality of ciphertext blocks to different relay nodes (2) so as to transmit the ciphertext block contents through different paths Among them, the transmitted ciphertext block content R i t for: In the formula, represents the ciphertext block content contained in path i at time t, N pa is the number of paths, A is the signal sent by the sender. p is the time-varying amplitude of the pth path, τ p is the delay of the pth path, is the equivalent noise, including background noise and model mismatch noise, a p is the time delay τ p The first derivative of ; The surface base station (3) receives all ciphertext blocks [D 1 ',D 2 ',...,D k-1 ',D k '], using wavelet denoising function to denoise [D 1 ,D 2 ,...,D k-1 ,D k ], and then merge and convert to get the ciphertext ←[D 1 ,D 2 ,...,D k-1 ,D k ]←(R 1 t ||R 2 t ||...||R k t ).

10. According to claim 1, a marine information encryption communication system based on NTRU, It is characterized in that The hydroacoustic sensor node (1) further comprises a dynamic early warning module (13), and the execution steps of the dynamic early warning module (13) include: The hazard index is calculated using the hazard distribution within the radius r of the hydroacoustic sensor node (1). Where k is the total number of dangerous nodes within radius r, d r (j,i) represents the danger index of the ith dangerous party within the radius r of the jth hydroacoustic sensor node (1); The risk index D j Normalize and get the risk weight Among them, ω j is the hazard weight, N is the number of underwater acoustic sensor nodes (1), D i is the danger index of the i-th path; According to the risk weight ω j The danger levels are divided, and the hydroacoustic sensor nodes (1) with the highest danger level are maintained in combination with the theory of infectious disease dynamics.