A Message Transmission Scheme for IoT Inspired by The Shamir Scheme and Based on The Hidden Number Problem (HNP)

DOI: https://doi.org/10.52549/ijeei.v13i4.7366
Published: 18-11-2025 • Issue: Vol. 13 No. 4: December 2025 • Section: Regular paper

Abstract

The Internet of Things (IoT) requires cryptographic mechanisms that are both lightweight and resistant to emerging attacks. Classical public-key protocols such as RSA or ElGamal, as well as many post-quantum lattice-based schemes, consume too many resources for devices with limited memory, processing power, and energy. In this study, we propose a three-pass message transmission protocol that avoids any prior key exchange. Inspired by Shamir’s keyless scheme and relying on the hardness of the Hidden Number Problem (HNP) and the Decisional Diffie–Hellman (DDH) assumption, the protocol operates in a finite field with safe primes and refreshes random masks at each execution, providing strong resistance to brute-force and small-subgroup attacks. We formally prove IND-CPA security and implement the HNP 3-pass scheme, showing that each pass executes in 1.4--1.8 ms on a workstation, with 132-byte public keys and 192--256-byte secret keys. Estimated energy consumption per iteration is 101.562 mJ. Comparative simulations on a workstation and embedded platforms (Arduino Uno and Raspberry Pi) against RSA-512, ECC (secp256r1/secp521r1), and post-quantum Kyber-512 show that our scheme achieves execution times comparable to ECC and Shamir’s 3-pass protocol, is significantly faster than RSA, and consumes less energy than Kyber-512. This combination of low latency, moderate key sizes, and energy efficiency highlights the practicality of the HNP 3-pass protocol for resource-constrained IoT environments

References

J. Gubbi, R. Buyya, S. Marusic, and M. Palaniswami, “Internet of things (IoT): A vision, architectural elements, and future directions,†Future Generation Computer Systems, vol. 29, no. 7, pp. 1645–1660, 2013.

R. Roman, P. Najera, and J. Lopez, “Features, security and privacy in the internet of things: The smart object perspective,†Computer Communications, vol. 36, no. 14, pp. 1483–1495, 2013.

D. Hankerson, A. Menezes, and S. Vanstone, Guide to Elliptic Curve Cryptography, Springer, 2004.

J. Hoffstein, J. Pipher, and J. H. Silverman, “NTRU: A ring-based public key cryptosystem,†in Algorithmic Number Theory, pp. 267–288, 1998.

R. Rivest, A. Shamir, and L. Adleman, “A method for obtaining digital signatures and public-key cryptosystems,†The Technical Paper, Laboratory for Computer Science, Massachusetts Institute of Technology, Cambridge.

T. ElGamal, “A public key cryptosystem and a signature scheme based on discrete logarithms,†IEEE Transactions on Information Theory, vol. 31, no. 4, pp. 469–472, 1985.

W. Stallings, “The advanced encryption standard,†Cryptologia, vol. 26, no. 3, pp. 165–188, 2002.

D. Aasen, M. Aghaee, Z. Alam, M. Andrzejczuk, A. Antipov, M. Astafev, L. Avilovas, A. Barzegar, B. Bauer, J. Becker et al., “Roadmap to fault tolerant quantum computation using topological qubit arrays,†arXiv preprint arXiv:2502.12252, 2025.

P. W. Shor, “Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer,†SIAM Review, vol. 41, no. 2, pp. 303–332, 1999.

L. K. Grover, “A fast quantum mechanical algorithm for database search,†in Proceedings of the Twenty-Eighth Annual ACM Symposium on Theory of Computing, 1996, pp. 212–219.

National Institute of Standards and Technology, “Post-quantum cryptography: NIST’s efforts to standardize quantum-resistant cryptographic algorithms,†U.S. Department of Commerce, Tech. Rep., 2023. [Online]. Available: https://csrc.nist.gov/Projects/post-quantum-cryptography

R. Avanzi, J. Bos, L. Ducas, E. Kiltz, T. Lepoint, V. Lyubashevsky, J. M. Schanck, P. Schwabe, G. Seiler, and D. Stehlé, “CRYSTALS-Kyber,†NIST, Tech. Rep., 2017.

J.-P. D’Anvers, A. Karmakar, S. Sinha Roy, and F. Vercauteren, “Saber: Module-LWR based key exchange, CPA-secure encryption and CCA-secure KEM,†in Progress in Cryptology–AFRICACRYPT 2018, 10th International Conference on Cryptology in Africa, Marrakesh, Morocco, May 7–9, 2018, Proceedings 10. Springer, 2018, pp. 282–305.

D. J. Bernstein, C. Chuengsatiansup, T. Lange, and C. Van Vredendaal, “NTRU Prime: Reducing attack surface at low cost,†in International Conference on Selected Areas in Cryptography. Springer, 2017, pp. 235–260.

N. Aragon, P. S. L. M. Barreto, S. Bettaieb et al., “BIKE: Bit Flipping Key Encapsulation,†https://bikesuite.org/

, 2023, submission to NIST Post-Quantum Cryptography Standardization Project, Round 4.

V. Lyubashevsky, C. Peikert, and O. Regev, “On ideal lattices and learning with errors over rings,†Journal of the ACM (JACM), vol. 60, no. 6, pp. 1–35, 2013.

O. Regev, “On lattices, learning with errors, random linear codes, and cryptography,†Journal of the ACM (JACM), vol. 56, no. 6, pp. 1–40, 2009.

M. R. Albrecht and A. Deo, “Large modulus Ring-LWE Module-LWE,†in International Conference on the Theory and Application of Cryptology and Information Security. Springer, 2017, pp. 267–296.

H. Q.-C. E. Scheme, “Code-based post-quantum cryptography.â€

C. A. Melchor, N. Aragon, S. Bettaieb, L. Bidoux, O. Blazy, J.-C. Deneuville, P. Gaborit, E. Persichetti, G. Zémor, and I. Bourges, “Hamming Quasi-Cyclic (HQC),†NIST PQC Round, vol. 2, no. 4, p. 13, 2018.

D. Jao and L. De Feo, “Towards quantum-resistant cryptosystems from supersingular elliptic curve isogenies,†in Post-Quantum Cryptography: 4th International Workshop, PQCrypto 2011, Taipei, Taiwan, November 29–December 2, 2011. Springer, 2011, pp. 19–34.

D. Boneh and R. Venkatesan, “Hardness of computing the most significant bits of secret keys in Diffie-Hellman and related schemes,†in Annual International Cryptology Conference. Springer, 1996, pp. 129–142.

D. M. Nguyen and S. Kim, “A quantum three-pass protocol with phase estimation for many bits transfer,†in 2019 International Conference on Advanced Technologies for Communications (ATC). IEEE, 2019, pp. 129–132.

A. J. Menezes, P. C. Van Oorschot, and S. A. Vanstone, Handbook of Applied Cryptography, CRC Press, 2018.

J. L. Massey and J. K. Omura, “Method and apparatus for maintaining the privacy of digital messages conveyed by public transmission,†U.S. Patent 4,567,600, Jan. 28, 1986.

E. Faure, A. Shcherba, A. Lavdanskyi, M. Makhynko, and M. Khizirova, “Three-pass protocol on permutations: Implementation example and security,†CPITS, pp. 110–124, 2024.

J. Lang, “A no-key-exchange secure image sharing scheme based on Shamir’s three-pass cryptography protocol and the multiple-parameter fractional Fourier transform,†Optics Express, vol. 20, no. 3, pp. 2386–2398, 2012.

R. L. Rivest, A. Shamir, and L. Adleman, “A method for obtaining digital signatures and public-key cryptosystems,†Communications of the ACM, vol. 21, no. 2, pp. 120–126, 1978.

M. A. Sadikin and R. W. Wardhani, “Implementation of RSA 2048-bit and AES 256-bit with digital signature for secure electronic health record application,†in 2016 International Seminar on Intelligent Technology and Its Applications (ISITIA). IEEE, 2016, pp. 387–392.

S. R. Singh, A. K. Khan, and T. S. Singh, “A critical review on elliptic curve cryptography,†in 2016 International Conference on Automatic Control and Dynamic Optimization Techniques (ICACDOT). IEEE, 2016, pp. 13–18.

O. İ̇sler, “Implementation and performance evaluation of elliptic curve cryptography over secp256r1 on STM32 microprocessor,†Cryptology ePrint Archive, 2024.

A. Langlois and D. Stehlé, “Worst-case to average-case reductions for module lattices,†Designs, Codes and Cryptography, vol. 75, no. 3, pp. 565–599, 2015.

R. J. McEliece, “A public-key cryptosystem based on algebraic coding theory,†Coding Theory, vol. 4244, no. 1978, pp. 114–116, 1978.

R. Elkhatib, B. Koziel, and R. Azarderakhsh, “Faster isogenies for post-quantum cryptography: SIKE,†in Cryptographers’ Track at the RSA Conference. Springer, 2022, pp. 49–72.

T. Yasuda, X. Dahan, Y.-J. Huang, T. Takagi, and K. Sakurai, “A multivariate quadratic challenge toward post-quantum generation cryptography,†ACM Communications in Computer Algebra, vol. 49, no. 3, pp. 105–107, 2015.

R. Rahim, “Applied Pohlig-Hellman algorithm in three-pass protocol communication,†Journal of Applied Engineering Science, vol. 16, no. 3, 2018.

Author Biographies

Mohamed El Ouafi
Mohamed El Ouafi is a researcher in the Laboratory of Applied Mathematics and Information Systems, Multidisciplinary Faculty of Nador, Mohammed First University, Morocco. His research interests include cryptography, Internet of Things (IoT) security, and blockchain technologies.
Abderrahim Aslimani
is a Professor in the Department of Mathematics, Multidisciplinary Faculty of Nador, Mohammed First University , Morocco. His research interests include stochastic analysis, probability theory, applied mathematics, partial differential equations, functional analysis, and measure theory.
Kaoutar Lamrini Uahabi
is a Professor in the \textit{Multidisciplinary Faculty of Nador}, \textit{Mohammed First University}, Morocco. She is a member of the \textit{Laboratory of Applied Mathematics and Information Systems,}. Her research interests include nonlinear analysis, fractal geometry, and their applications in medical imaging and complex systems. She is also interested in chaotic dynamical systems and the mathematical modeling of random phenomena.
Abderrahim Zannou
is a Professor at the Faculty of Sciences and Techniques of Al Hoceima, Abdelmalek Essaadi University, Morocco. His research interests include the Internet of Things (IoT), and blockchain technologies.

How to Cite

[1]
M. El Ouafi, A. Aslimani, K. Lamrini Uahabi, and A. Zannou, “A Message Transmission Scheme for IoT Inspired by The Shamir Scheme and Based on The Hidden Number Problem (HNP)”, IJEEI, vol. 13, no. 4, pp. 873–887, Nov. 2025, doi: 10.52549/ijeei.v13i4.7366.