An encrypted radiographic system based on a new hash authentication algorithm

CN117395347BActive Publication Date: 2026-10-30NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311340780.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-17
Publication Date
2026-10-30
Estimated Expiration
2043-10-17

AI Technical Summary

Technical Problem

[0004]本发明的目的在于提供一种基于新哈希认证算法的加密射线照相系统,以解决上述背景技术中提出的对于需要被加密检测的项目,传统的射线照相技术反而更容易泄漏敏感数据问题

Benefits of technology

[0021]本实施例中图1展示了新哈希认证算法的流程图;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117395347B_ABST
    Figure CN117395347B_ABST
Patent Text Reader

Abstract

The application discloses an encryption radiographic system based on a new hash authentication algorithm, which comprises a detection ray source, a ray detector and a new hash authentication algorithm module, wherein the detection ray source and the ray detector are used for acquiring a two-dimensional irradiation image of a detected item, and image data is composed of information such as the count or energy of a transmission particle; the new hash authentication algorithm module realizes encryption through the following steps: a is a detected object in FIG. 2, which is composed of three-layer spherical shells with a thickness of 1 cm, and the materials from outside to inside are aluminum, iron and gold; b is a result obtained under a conventional radiographic system; and c is a result obtained by the encryption radiographic system. It can be known from comparison that the encryption radiographic system effectively protects sensitive information of the detected item, and in combination with a template comparison method, the system can complete detection of the detected item at a high resolution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of information security technology, specifically relating to an encrypted ray radiography system based on a new hash authentication algorithm. Background Technology

[0002] Non-destructive testing (NDT) is a method that can inspect the internal structure or defects of a workpiece without damaging its structure or affecting its performance. It, to a certain extent, represents a country's level of industrial development. Radiography, as one of the main methods of NDT, is widely used in industrial production due to its superior transmission capabilities.

[0003] However, for projects requiring encrypted inspection, traditional radiographic techniques are more likely to leak sensitive data. To further expand the application scope of radiography, this patent proposes an encrypted radiographic system based on a new hash authentication algorithm, which can efficiently complete the radiographic inspection of the workpiece without leaking sensitive information. Summary of the Invention

[0004] The purpose of this invention is to provide an encrypted ray radiography system based on a new hash authentication algorithm, in order to solve the problem mentioned in the background art that traditional ray radiography technology is more likely to leak sensitive data for items that need to be encrypted and detected.

[0005] To achieve the above objectives, the present invention provides the following technical solution: a cryptographic ray imaging system based on a new hash authentication algorithm, comprising:

[0006] Modules for detecting radiation sources, radiation detectors, and the new hash authentication algorithm;

[0007] The detection radiation source and radiation detector are used to acquire two-dimensional radiation images of the inspected item, and the image data consists of information such as the count or energy of the transmitted particles.

[0008] The new hash authentication algorithm module implements encryption through the following steps:

[0009] Interpolation processing was performed on the irradiation images of the reference item and the tested item respectively to obtain image digital matrices F1 and F2 of size N×N;

[0010] Perform column difference operation on F1 and F2 to obtain difference matrices D1 and D2, where the size of difference matrices D1 and D2 is N×N, which can reflect the differences in image structure;

[0011] Perform the Hadamard product operation on F1, F2, D1 and D2 to obtain the weight matrices W1 and W2, and the calculation formula is Wi=Fi⊙Di(1), where i=1,2;

[0012] Calculate the average of the weight matrices W1 and W2 to obtain W1_mean and W2_mean;

[0013] Each element in W1 is compared with W2_mean; elements greater than the mean are set to 1, otherwise they are set to 0, resulting in a hash value matrix Hm1. Similarly, each element in W2 is compared with W1_mean; elements greater than the mean are set to 1, otherwise they are set to 0, resulting in a hash value matrix Hm2.

[0014] The hash matrices Hm1 and Hm2 are scrambled and their dimensions reduced to obtain the corresponding hash sequences Hs1 and Hs2 with a length of N^2×1.

[0015] The Hamming distance H is calculated using the formula H = ∑(Hs1⊕Hs2), where ⊕ represents the XOR operation.

[0016] Preferably, N is a positive integer.

[0017] Preferably, it further includes a template comparison method, which is used to compare the identity code of the item under inspection with the identity code of a reference item to complete the encryption authentication of the item under inspection.

[0018] Preferably, the template comparison method measures the similarity between the reference item and the item being tested by quantifying differences.

[0019] Preferably, the encrypted radiographic system can complete the detection and certification at a high resolution while protecting the sensitive information of the inspected item.

[0020] Compared with existing technologies, this invention provides an encrypted ray radiography system based on a new hash authentication algorithm, which has the following advantages:

[0021] In this embodiment Figure 1 The flowchart of the new hash authentication algorithm is shown;

[0022] Figure 2 The results of conventional radiography systems and the encrypted radiography system based on the new hash authentication algorithm proposed in this patent are shown.

[0023] Figure 2 In Figure 'a', the object under inspection consists of three spherical shells, each 1 cm thick, made of different materials: aluminum, iron, and gold from the outside in. Figure 'b' shows the result obtained using a conventional radiographic system, while Figure 'c' shows the result obtained using the encrypted radiographic system proposed in this patent. The comparison demonstrates that the encrypted radiographic system proposed in this patent effectively protects the sensitive information of the inspected item. Combined with the template comparison method, this system can complete the inspection of the inspected item with high resolution. Attached Figure Description

[0024] Figure 1 This is a flowchart of the new hash authentication algorithm used in this utility model.

[0025] Figure 2 The results show the detection results of the conventional radiographic system of this invention and the encrypted radiographic system based on the new hash authentication algorithm proposed in this patent.

[0026] Figure 3 This invention relates to an encrypted ray radiography system based on a new hash authentication algorithm.

[0027] In the diagram: 1. Detection of X-ray source; 2. X-ray detector; 3. New hash authentication algorithm module. Detailed Implementation

[0028] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0029] This invention provides, for example Figure 1-3 The illustrated cryptographic ray imaging system based on a novel hash authentication algorithm includes:

[0030] Detection of X-ray source 1, X-ray detector 2, and new hash authentication algorithm module 3;

[0031] Among them, the detection radiation source 1 and radiation detector 2 are used to acquire two-dimensional radiation images of the inspected item. The image data consists of information such as the count or energy of the transmitted particles.

[0032] The new hash authentication algorithm module 3 implements encryption through the following steps:

[0033] Interpolation processing was performed on the irradiation images of the reference item and the tested item respectively to obtain image digital matrices F1 and F2 of size N×N;

[0034] Perform column difference operation on F1 and F2 to obtain difference matrices D1 and D2, where the size of difference matrices D1 and D2 is N×N, which can reflect the differences in image structure;

[0035] Perform the Hadamard product operation on F1, F2, D1 and D2 to obtain the weight matrices W1 and W2, and the calculation formula is Wi=Fi⊙Di(1), where i=1,2;

[0036] Calculate the average of the weight matrices W1 and W2 to obtain W1_mean and W2_mean;

[0037] Each element in W1 is compared with W2_mean; elements greater than the mean are set to 1, otherwise they are set to 0, resulting in a hash value matrix Hm1. Similarly, each element in W2 is compared with W1_mean; elements greater than the mean are set to 1, otherwise they are set to 0, resulting in a hash value matrix Hm2.

[0038] The hash matrices Hm1 and Hm2 are scrambled and their dimensions reduced to obtain the corresponding hash sequences Hs1 and Hs2 with a length of N^2×1.

[0039] The Hamming distance H is calculated using the formula H = ∑(Hs1⊕Hs2), where ⊕ represents the XOR operation and N is a positive integer. Further, a template comparison method is included, which compares the identity code of the item under inspection with that of a reference item to complete the encrypted authentication of the item under inspection. The template comparison method measures the similarity between the reference item and the item under inspection by quantifying the differences. The encrypted radiographic system can complete detection and authentication at high resolution while protecting the sensitive information of the item under inspection.

[0040] In this embodiment, to meet the encrypted radiographic requirements of certain workpieces, this patent proposes an encrypted radiographic system based on a new hash authentication algorithm. This system consists of a detection X-ray source, a X-ray detector, and a new hash authentication algorithm module. The detection X-ray source and detector can acquire a two-dimensional irradiated image of the inspected item. The image data can be composed of information such as the count or energy of transmitted particles. The new hash authentication algorithm quantizes the image structure, performs binarization by exchanging the mean values ​​of the reference item and the tested item to erase numerical features, and performs scrambling steps to finally generate a hash sequence corresponding to the image, serving as its identity code, effectively encrypting the sensitive information of the inspected item. Combined with the template comparison method, the identity code of the inspected item is compared with the identity code of the reference item, and the difference is quantified to complete the encrypted authentication of the inspected item. This encrypted radiographic system can complete detection and authentication at high resolution while protecting the sensitive information of the inspected item.

[0041] In the new hash authentication algorithm, the irradiation image data of both the reference item and the item being inspected undergo the same transformation, and the specific steps are as follows:

[0042] The irradiation images of the reference project and the tested project are interpolated to obtain image digital matrices of size N×N, which are denoted as F1 and F2 respectively.

[0043] Perform column difference operations on F1 and F2 respectively, that is, subtract the values ​​at corresponding positions in the i-th column from the (i+1)-th column of the matrix;

[0044] Perform the Hadamard product operation on matrices F1 and F2 with D1 and D2 respectively to obtain weight matrices W1 and W2. The specific calculation formula is as follows:

[0045] W i =F i ⊙D i #(1)

[0046] Where i = 1, 2, representing the reference item and the item being inspected, respectively, for image digital matrices from different categories of items, the weight matrix not only amplifies the quantitative differences to a certain extent, but also quantifies the structural differences, thereby improving the resolution of radiography;

[0047] Calculate the matrix averages of weight matrices W1 and W2, denoted as W1_mean and W2_mean, as follows: Figure 1 As shown, each element in W1 is compared sequentially with W2_mean; elements greater than the mean are set to 1, otherwise to 0. Similarly, each element in W2 is compared with W1_mean; elements greater than the mean are set to 1, otherwise to 0. This yields the hash value matrices Hm1 and Hm2, with the following formula:

[0048]

[0049]

[0050] By exchanging the means of the reference items and the items under inspection and comparing them, two matrices with different values ​​can be effectively distinguished.

[0051] Using the same data processing method, the hash value matrices Hm1 and Hm2 are scrambled and their dimensions reduced to obtain the corresponding length N. 2 The hash sequences of size ×1 are denoted as Hs1 and Hs2, respectively, and used as the identity codes for the reference item and the item being tested. Finally, the Hamming distance between the two identity codes is calculated to measure the similarity between the two items. The specific formula is as follows:

[0052] Hs i =arrange(Hm) i )#(4)

[0053] Where i = 1, 2, representing the reference item and the item being inspected, respectively, the hash matrices Hm1 and Hm2 are reduced in dimensionality and scrambled in the same way to obtain the corresponding hash sequences Hs1 and Hs2. The Hamming distance calculation formula is as follows:

[0054]

[0055] Preferably, this patent addresses the encrypted radiographic requirements of certain workpieces by proposing an encrypted radiographic system based on a novel hash authentication algorithm. This system can efficiently authenticate the content in the irradiated image while protecting the sensitive information of the inspected item. The specific implementation steps are as follows:

[0056] 1. For a certain type of inspected object, it is first necessary to obtain a reliable reference object. For example, in the internal defect detection of workpieces, it is first required to obtain a intact workpiece free of defects as a reference for the workpiece to be inspected, and it is judged whether the radiographic images of the two workpieces are consistent to determine whether the inspected workpiece has defects;

[0057] 2. The encrypted radiographic system proposed in this patent is used to collect the radiographic images of the reference object and the inspected object respectively, and the radiographic environments of the two objects need to be kept consistent (such as irradiation time, orientation, etc.). Then the new hash authentication algorithm module calculates the Hamming distance between the corresponding radiographic images of the two objects, and a smaller Hamming distance indicates a higher similarity between the two objects;

[0058] The reference object is subjected to multiple radiographic measurements, the images obtained from multiple radiations are paired two by two, the new hash authentication algorithm is used to calculate the Hamming distance of each matching, and the average value of multiple Hamming distances is obtained as the threshold T. If the Hamming distance H between the inspected object and the reference object is less than T, it is considered that the content of the radiographic images of the two objects is consistent; otherwise, it indicates that there is content in the inspected object that is inconsistent with the reference object, such as cracks, bubbles and other information that needs to be detected. In summary, this system can meet the encrypted radiographic inspection requirements of certain special objects.

[0059] Finally, it should be noted that the above description is only the preferred embodiments of the present invention, and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still make modifications to the technical solutions recorded in the foregoing embodiments, or make equivalent replacements to part of the technical features thereof. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall all be included in the protection scope of the present invention.

Claims

1. A cryptographic ray radiography system based on a novel hash authentication algorithm, characterized in that: include: The detection system includes a radiation source (1), a radiation detector (2), and a new hash authentication algorithm module (3). The detection radiation source (1) and radiation detector (2) are used to acquire two-dimensional radiation images of the inspected item. The image data consists of information such as the count or energy of the transmitted particles. The new hash authentication algorithm module (3) implements encryption through the following steps: Interpolation processing was performed on the irradiation images of the reference item and the tested item respectively to obtain image digital matrices F1 and F2 of size N×N; Perform column difference operation on F1 and F2 to obtain difference matrices D1 and D2, where the size of difference matrices D1 and D2 is N×N, which can reflect the differences in image structure; Perform the Hadamard product operation on F1, F2, D1 and D2 to obtain the weight matrices W1 and W2, and the calculation formula is Wi=Fi⊙Di(1), where i=1,2; Calculate the average of the weight matrices W1 and W2 to obtain W1_mean and W2_mean; Each element in W1 is compared with W2_mean; elements greater than the mean are set to 1, otherwise they are set to 0, resulting in a hash value matrix Hm1. Similarly, each element in W2 is compared with W1_mean; elements greater than the mean are set to 1, otherwise they are set to 0, resulting in a hash value matrix Hm2. The hash matrices Hm1 and Hm2 are scrambled and their dimensions reduced to obtain the corresponding hash sequences Hs1 and Hs2 with a length of N^2×1. The Hamming distance H is calculated using the formula H = ∑(Hs1⊕Hs2), where ⊕ represents the XOR operation.

2. The encrypted ray radiography system based on a new hash authentication algorithm according to claim 1, characterized in that: Where N is a positive integer.

3. The encrypted ray radiography system based on a new hash authentication algorithm according to claim 2, characterized in that: It further includes a template comparison method, which is used to compare the identity code of the item under inspection with the identity code of a reference item to complete the encryption authentication of the item under inspection.

4. The encrypted ray radiography system based on a new hash authentication algorithm according to claim 3, characterized in that: The template comparison method measures the similarity between the reference item and the item being tested by quantifying the differences.

5. The encrypted ray radiography system based on a new hash authentication algorithm according to claim 4, characterized in that: Encryption Radiographic systems can perform testing and certification at high resolution while protecting the sensitive information of the inspected items.

Citation Information

Patent Citations

  • Radiation security check system based on encrypted perceptual hash recognition algorithm

    CN115100448A