1. Introduction
The advent of Industry 5.0, the fifth industrial revolution, has ushered in an era of unprecedented technological advancements. This revolution is marked by the convergence of cyber-physical systems, the Internet of Things (IoT), and artificial intelligence (AI), leading to the creation of intelligent, autonomous, and interconnected systems. As these systems become increasingly complex and integrated, the need for robust and secure communication channels has never been more pressing. Enter Neutrosophic cryptography, a novel and emerging field that leverages the principles of neutrosophic logic to enhance the security and resilience of cryptographic systems.
Neutrosophic logic, an extension of fuzzy logic, introduces the concept of indeterminacy, allowing for the representation and analysis of information with inherent uncertainties and inconsistencies. Neutrosophic algebra, introduced by Kandasamy and Smarandache [4], lays the foundation for various neutrosophic algebraic structures like neutrosophic groups and rings [5, 7]. The inclusion of an indeterminate element (denoted by an "𝐼") offers a unique logical property, fostering significant advancements in the study of algebraic structures (see references [1-3, 6, 8-12]).
The year 2020 marked the birth of neutrosophic number theory, where concepts like neutrosophic greatest common divisor (gcd), neutrosophic Diophantine equations, neutrosophic Euler's function, and neutrosophic congruences were established and explored by several researchers (see references [3, 11]). Drawing an analogy, cryptography can be viewed as the practical application of number theory concepts. As various scientific fields, particularly computing, cryptography, and security systems, witness rapid advancements, the need for more robust security measures becomes increasingly crucial. This very need has fueled the development of neutrosophic cryptography theory.
30 DOI: https://doi.org/10.54216/IJAACI.060103 Received: November 2, 2023 Revised: January 24, 2023 Accepted: June 12, 2024
2. Mathematical Definitions and Issues
Definition 2.1: [3]
Let 𝑍 be the ring of integers, we say that (𝐼) = {𝑎 + 𝑏𝐼; 𝑎 𝑏 ∈ 𝑍}is the neutrosophic ring of integers. Definition 2.2: [3] a) let 𝑎 +𝑏𝐼, 𝑎𝑛𝑑 𝑐 + 𝑑𝐼 are two neutrosophic integers, then: 𝑎 + 𝑏𝐼 ≤ 𝑐 + 𝑑𝐼 if and only if 𝑎 ≤ , 𝑎 + 𝑏 ≤ 𝑐 + 𝑑. b) 𝑎 + 𝑏𝐼 is called positive neutrosophic integer if 𝑎 > 0 and 𝑎 + 𝑏 > 0. Example 1:
5 +2𝐼 is a positive neutrosophic integer, that is because 5 > 0, 5 +2 = 7 > 0. Definition 2.3: [3] (Addition) Let 𝑎+ 𝑏𝐼, 𝑐+ 𝑑𝐼:
Definition 2.4: [3] (Multiplication) Let 𝑎+ 𝑏𝐼, 𝑐+ 𝑑𝐼:
Definition 2.5: [3] (Neutrosophic Exponentiation) Let 𝑎+ 𝑏𝐼, 𝑐+ 𝑑𝐼:
Definition 2.6: [3] (Greatest Common Divisor) Let 𝑎+ 𝑏𝐼, 𝑐+ 𝑑𝐼:
Definition 2.7: [3] (Division) Let (𝐼) = {𝑎 +𝑏𝐼; 𝑎, 𝑏 ∈ 𝑍} the neutrosophic ring of integers. For any 𝑥, 𝑦 ∈ (𝐼), we say that 𝑥|𝑦 if there is 𝑟 ∈ (𝐼); 𝑟. 𝑥 = 𝑦.
Definition 2.8: [3] (Congruence)
In the neutrosophic ring denoted by Z(I), let 𝑥 = 𝑎 + 𝑏𝐼, 𝑦 = 𝑐 + 𝑑𝐼, and 𝑧 = 𝑚 + 𝑛𝐼 be three elements. We say that 𝑥 is congruent to 𝑦 modulo 𝑧 (denoted by 𝑥 ≡ (𝑚𝑜𝑑𝑧)) if and only if 𝑧 divides the difference between 𝑥 and 𝑦. An element 𝑧 in Z(I) is called the greatest common divisor (GCD) of 𝑥 and 𝑦 if it satisfies the following conditions: 1. Divisibility: 𝑧 divides both 𝑥 and 𝑦: 𝑧 | 𝑥 𝑎𝑛𝑑 𝑧 | 𝑦 2. Maximality: For any other element 𝑐 dividing both 𝑥 and 𝑦 (i.e., 𝑐 | 𝑥 𝑎𝑛𝑑 𝑐 | 𝑦), 𝑐 must also divide 𝑧 (i.e., 𝑐 | 𝑧). Definition 2.9: [3] (primes) Let Z(I) = {𝑎 + 𝑏𝐼; 𝑎, 𝑏 ∈ 𝑍} denote the neutrosophic ring of integers. An arbitrary element 𝑥 ∈ Z(I) is called a prime element if, whenever 𝑥 divides the product of two elements 𝑦 and 𝑧, it divides at least one of the factors 𝑦 or 𝑧. The concept of utilizing neutrosophic numbers in cryptography was first introduced by Merkepci et al. in [13]. Definition 2.10: [10] (RSA algorithm) Neutrosophic Euler's Identity: Let 𝑎 + 𝑏𝐼 and 𝑐 + 𝑑𝐼 be two relatively prime neutrosophic positive integers (meaning their greatest common divisor is the neutrosophic integer 1). Then, the following equation holds:
31 DOI: https://doi.org/10.54216/IJAACI.060103 Received: November 2, 2023 Revised: January 24, 2023 Accepted: June 12, 2024
To encrypt a plaintext message m using the RSA algorithm, we follow these steps: a) We Pick two positive integers 𝑝, 𝑎𝑛𝑑 𝑞 and compute 𝑛 = 𝑝𝑞. b) Compute (𝑛). c) We Pick a positive integer 1 < 𝑒 < (𝑛) such that 𝑔(𝑒,𝜑(𝑛)) = 1. d) We Use the formula 𝐶≡𝑚𝑒(𝑚𝑜𝑑 𝑛) to get the encryption of (𝑚). e) To decrypt the original text (𝑚), calc 𝑑⇔𝑒−1 such that 𝑒. d ≡ 1( 𝑚𝑜𝑑 𝜑(𝑛)). f) Then we compute 𝑚≡𝐶𝑑(𝑚𝑜𝑑 𝑛) to get the original text. We call the pair (e, n) the public key, and we call the pair (d, n) the private key. The RSA algorithm's security relies on the difficulty of factoring large natural numbers (integers) into their prime components. Choosing a large number n for n makes it computationally challenging to break the code, as this process requires factoring n. Example 2: Consider that 𝑚 = 11 is the plain text, then we pick 𝑝 = 17, 𝑞 = 11, then 𝑛 = 𝑝𝑞 = 187, (𝑛) = (𝑝 – 1) (𝑞 – 1) = 160. We choose a small value for e, e = 7 (satisfying gcd(e, φ(n)) = 1). Then the encrypted message:
𝐶≡𝑚𝑒(𝑚𝑜𝑑 𝑛) 𝐶≡117(𝑚𝑜𝑑 187)=154 To decrypt the previous message, then: using the Extended Euclidean Algorithm, we can find d such that: 𝑑∙𝑒≡1(𝑚𝑜𝑑 𝜑(𝑛)). In this case, d = 23.
3. Enhanced Neutrosophic RSA Algorithm
The primary goal of cryptography is to keep messages confidential. The RSA algorithm relies on the difficulty of factoring large integers into their prime factors. Neutrosophic integers offer a higher level of complexity, making them suitable for cryptographic applications. Analyzing positive neutrosophic integers is significantly more challenging than analyzing regular integers (see [13]). For example, 𝑛 = 20 + 52𝐼 can be split into many different formulas such as: (4 + 2𝐼) (5 + 7𝐼), (4 − 𝐼) (5 + 9𝐼), (2 + 𝐼) (18 + 14𝐼) and so on. This implies that constructing a neutrosophic version of the RSA algorithm will yield a higher level of complexity, making it even more challenging to crack the algorithm. In our published research paper entitled “The Applications of Fusion Neutrosophic Number Theory in Public Key Cryptography and the Improvement of RSA Algorithm”, Mehmet Merkepci and Mohammad Abobala introduced a novel formula for the Euler totient function:
The Euler phi function counts the number of positive neutrosophic integers, such as 𝑎+ 𝑏𝐼≤𝑥+ 𝑦𝐼 and that are relatively prime to gcd(𝑎+ 𝑏𝐼, 𝑥+ 𝑦𝐼) = 1. Steps for Implementing the Neutrosophic Algorithm: [3] Assume that Bob and Alice, Bob wants to send an encrypted text to Alice. Suppose that 𝑀 = 𝑚 + 𝑛𝐼 is the text, to encrypt 𝑀, Bob should follow these steps:
1) Bob picks two neutrosophic positive integers, 𝑃 = 𝑎 + 𝑏𝐼, = 𝑐 + 𝑑𝐼 and compute 𝑁 = 𝑃𝑄 = 𝑎𝑐 + (𝑎𝑑 +𝑏𝑐 + 𝑏𝑑). 2) Bob computes 𝜑 (𝑁) = 𝜑 (𝑃).𝜑 (𝑄), where:
32 DOI: https://doi.org/10.54216/IJAACI.060103 Received: November 2, 2023 Revised: January 24, 2023 Accepted: June 12, 2024
3) Bob picks an arbitrary neutrosophic positive integer 𝐸 = 𝑒1 + 𝑒2𝐼 with (𝐸,𝜑 (𝑁)) = 1 and 1 < 𝐸 < 𝜑 (𝑁), the public key is (𝐸, 𝑁). 4) Bob encrypts the text 𝑀 by the formula:
Bob send 𝐶 to Alice. The private key is calculated as follows:
(10)
This is how Alice decrypts the message:
(11)
Example 3:
(12)
In our published research, we provided theoretical proofs and demonstrations of the correctness of the algorithm's operation. Additionally, we raised the complexity of the RSA algorithm to the square, making it more resistant and secure against attacks (see [13]).
4. Neutrosophic Diffie-Hellman Key Exchange
The Diffie-Hellman key exchange is a foundational cryptographic method that allows two parties to securely agree on a shared secret key, even if they are communicating over an insecure channel where others might be listening. This shared secret key can then be used to encrypt and decrypt messages, providing confidentiality for their communication. The magic of Diffie-Hellman lies in modular arithmetic and one-way functions:
a) Shared Public Parameters: Two parties, Alice and Bob, begin by agreeing on a large prime number (p) and a generator (g) within a finite field. These are public values and can be known by anyone. b) Private Keys: Alice and Bob each choose a secret, random number. Alice's is called a, and Bob's is called b. These are kept absolutely private. c) public Key Calculation:
Alice calculates: 𝐴 = 𝑔𝑎 𝑚𝑜𝑑 𝑝, and sends the result (A) to Bob.
33 DOI: https://doi.org/10.54216/IJAACI.060103 Received: November 2, 2023 Revised: January 24, 2023 Accepted: June 12, 2024 Bob calculates: 𝐵 = 𝑔𝑏 𝑚𝑜𝑑 𝑝, and sends the result (B) to Alice. d) Shared Secret Calculation:
Alice receives B and computes 𝐵𝑎(𝑚𝑜𝑑 𝑝). Bob receives A and computes 𝐴𝑏(𝑚𝑜𝑑 𝑝).
Crucially, due to the properties of modular arithmetic, both Alice and Bob will arrive at the same shared secret value
5. Proposed Neutrosophic Algorithm
The Description of neutrosophic Diffie-Hellman Algorithm:
a) Alice and Bob agree on a neutrosophic prime 𝒑= 𝒑𝟏+ 𝒑𝟐𝑰, i.e. 𝒑𝟏, 𝒑𝟏+ 𝒑𝟐 are classical primes and a
b) Alice chose a secret number 𝒂= 𝒂𝟏+ 𝒂𝟐𝑰> 𝟎, and sends Bob 𝒈𝒂(𝒎𝒐𝒅 𝒑). [Remark that
e) Bob computes (𝒈𝒂)𝒃(𝒎𝒐𝒅 𝒑). Example 4: Assume that Alice and Bob have agreed on 𝑝= 3 + 4𝐼, and 𝑔= 5 + 𝐼. Alice choose the secret neutrosophic number 𝑎= 2 + 3𝐼. Alice sends Bob(5 + 𝐼)2+3𝐼(𝑚𝑜𝑑 𝑝) = 52(𝑚𝑜𝑑 3) + 𝐼[65(𝑚𝑜𝑑 7) −52(𝑚𝑜𝑑 3)] = 1 + 5𝐼. Bob choose the secret neutrosophic number 𝑏= 4 −2𝐼, and sendsAlice(5 + 𝐼)4−2𝐼(𝑚𝑜𝑑 𝑝) = 54(𝑚𝑜𝑑 3) + 𝐼[62(𝑚𝑜𝑑 7) −54(𝑚𝑜𝑑 3)] = 1. Alice computes 12+3𝐼(𝑚𝑜𝑑 𝑝) = 1. Bob computes (1 + 5𝐼)4−2𝐼(𝑚𝑜𝑑 𝑝) = 1. Thus, we observe that both parties generated the same secret key value, and therefore the neutrosophic algorithm worked correctly.
6. Conclusion
In this chapter, we presented some of the mathematical foundations of neutrosophic number theory and explained the potential for using it to develop and enhance existing information security algorithms, making them more secure and resistant to attacks. At the end of the chapter, we presented an approach for using neutrosophic numbers in the Diffie-Hellman key exchange algorithm. Neutrosophic number theory may have a great impact on cryptography, so we suggest researchers define a version of Diffie-Hellman depending on the refined neutrosophic number theoretical approach [12].We believe that the convergence of Neutrosophic cryptography and Industry 5.0 represents a paradigm shift in the way we approach data security and communication in the realm of cyber-physical systems. By embracing the principles of neutrosophic logic and leveraging its ability to handle uncertainties and inconsistencies, Neutrosophic cryptography offers a robust and resilient framework for securing data exchange in the interconnected and autonomous systems that characterize the fifth industrial revolution.
34 DOI: https://doi.org/10.54216/IJAACI.060103 Received: November 2, 2023 Revised: January 24, 2023 Accepted: June 12, 2024