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