PrasathSrinivasan Sushmitha: Algorithm for String Encryption and Decryption

J.S.Prasath J.Srinivasan (1), Sushmitha G.S (2)
(1) Department of Computer Science and Engineering, Sapthagiri NPS University, Bengaluru, India
(2) Department of Computer Science and Engineering, Sapthagiri NPS University, Bengaluru, India
Fulltext View | Download
How to cite (IJASCE) :
J.Srinivasan , J., & Sushmitha G.S. (2026). PrasathSrinivasan Sushmitha: Algorithm for String Encryption and Decryption. International Journal of Advanced Science Computing and Engineering, 8(2), 56–65. https://doi.org/10.62527/ijasce.8.2.302

Security is essential for communication of messages, data, and private information. Security threats and vulnerabilities increase rapidly due to the wide usage of wireless media for data transmission. Intruders can access and alter sensitive data and private information transmitted across the Internet. Security algorithms are important to ensure secure communication without unauthorized access or modification.  This work proposes a novel cryptography scheme for encrypting text messages. This proposed algorithm encrypts the input string into ciphertext through a series of mathematical operations. The inverse operation of encryption is performed at the receiver to obtain the original string from the ciphertext. This proposed cryptography can be utilized for preventing theft and fraud in online money transactions, securing email messages, file encryption, securing web information, ensuring data confidentiality across the internet, assuring data security in remote access, securing the patients' information transmitted across wireless networks, enabling secure communication of the country’s border information, preventing credit card fraud, securing the industrial continuous varying process parameters, encryption of WhatsApp messages, and securing the individual’s private information.

G. S. Rizos and K. A. Draziotis, "Cryptographic primitives based on compact knapsack problem," J. Inf. Secur. Appl., vol. 83, p. 103781, Jun. 2024, doi: 10.1016/j.jisa.2024.103781.

L.-W. Chen, K.-L. Tsai, F.-Y. Leu, W.-C. Jiang, and S.-T. Tseng, "Time parameter based low-energy data encryption method for mobile applications," Comput. Model. Eng. Sci., vol. 140, no. 3, pp. 2779–2794, 2024, doi: 10.32604/cmes.2024.052124

A. E. Adeniyi, R. G. Jimoh, and J. B. Awotunde, "A systematic review on elliptic curve cryptography algorithm for Internet of Things: Categorization, application areas, and security," Comput. Electr. Eng., vol. 118, p. 109330, Aug. 2024, doi:10.1016/j.compeleceng.2024.109330.

J. S. Prasath, V. I. Shyja, P. Chandrakanth, B. K. Kumar, and A. Raja Basha, "An optimal secure defense mechanism for DDoS attack in IoT network using feature optimization and intrusion detection system," J. Intell. Fuzzy Syst., vol. 46, no. 3, pp. 6517–6534, Mar. 2024, doi:10.3233/jifs-235529.

N. Mishra, S. K. Hafizul Islam, and S. Zeadally, "A survey on security and cryptographic perspective of Industrial-Internet-of-Things," Internet Things, vol. 25, p. 101037, Apr. 2024, doi:10.1016/j.iot.2023.101037.

M. Al-Zubaidie and R. A. Muhajjar, "Integrating trustworthy mechanisms to support data and information security in health sensors," Procedia Comput. Sci., vol. 237, pp. 43–52, 2024, doi:10.1016/j.procs.2024.05.078.

O. Popoola, M. A. Rodrigues, J. Marchang, A. Shenfield, A. Ikpehai, and J. Popoola, "An optimized hybrid encryption framework for smart home healthcare: Ensuring data confidentiality and security," Internet Things, vol. 27, p. 101314, Oct. 2024, doi:10.1016/j.iot.2024.101314.

V. Vasani, K. Prateek, R. Amin, S. Maity, and A. D. Dwivedi, "Embracing the quantum frontier: Investigating quantum communication, cryptography, applications and future directions," J. Ind. Inf. Integr., vol. 39, p. 100594, May 2024, doi:10.1016/j.jii.2024.100594.

C. J. Ramakrishna, D. B. K. Reddy, B. K. Priya, P. P. Amritha, and K. V. Lakshmy, "Analysis of lightweight cryptographic algorithms for IoT gateways," Procedia Comput. Sci., vol. 233, pp. 235–242, 2024, doi: 10.1016/j.procs.2024.03.213.

H. Dou, Z. Dan, P. Xu, W. Wang, S. Xu, T. Chen, and H. Jin, "Dynamic searchable symmetric encryption with strong security and robustness," IEEE Trans. Inf. Forensics Security, vol. 19, pp. 2370–2384, 2024, doi:10.1109/tifs.2024.3350330.

K. Sasikumar and S. Nagarajan, "Comprehensive review and analysis of cryptography techniques in cloud computing," IEEE Access, vol. 12, pp. 52325–52351, 2024, doi:10.1109/access.2024.3385449.

G. Xu, S. Xu, J. Ma, J. Ning, and X. Huang, "An adaptively secure and efficient data sharing system for dynamic user groups in cloud," IEEE Trans. Inf. Forensics Security, vol. 18, pp. 5171–5185, 2023, doi:10.1109/tifs.2023.3305870.

L. Chen, Y. Mu, L. Zeng, F. Rezaeibagha, and R. H. Deng, "Authenticable data analytics over encrypted data in the cloud," IEEE Trans. Inf. Forensics Security, vol. 18, pp. 1800–1813, 2023, doi:10.1109/tifs.2023.3256132.

L. Xu, X. Yuan, Z. Zhou, C. Wang, and C. Xu, "Towards efficient cryptographic data validation service in edge computing," in Proc. 2022 IEEE World Congr. Services (SERVICES), IEEE, 2022, pp. 14–14, doi:10.1109/services55459.2022.00027.

C. Hahn, H. Yoon, and J. Hur, "Multi-key similar data search on encrypted storage with secure pay-per-query," IEEE Trans. Inf. Forensics Security, vol. 18, pp. 1169–1181, 2023, doi:10.1109/tifs.2023.3236178.

E. K. Heru, Faisal, and H. Pranoto, "File encryption application using Menezes-Vanstone elliptic curve cryptography based on Python," Procedia Comput. Sci., vol. 227, pp. 651–658, 2023, doi:10.1016/j.procs.2023.10.569.

F. Beggas and A. Lounici, "Generation of random sequences using DNA cryptography for OTP encryption," Biosystems, vol. 234, p. 105064, Dec. 2023, doi:10.1016/j.biosystems.2023.105064.

K. Begovic, A. Al-Ali, and Q. Malluhi, "Cryptographic ransomware encryption detection: Survey," Comput. Secur., vol. 132, p. 103349, Sep. 2023, doi:10.1016/j.cose.2023.103349.

A. Vishnoi, A. Aggarwal, A. Prasad, M. Prateek, and S. Aggarwal, "Text encryption for lower text size: Design and implementation," Mater. Today Proc., vol. 79, pp. 278–281, 2023, doi:10.1016/j.matpr.2022.11.118.

S. Urooj, S. Lata, S. Ahmad, S. Mehfuz, and S. Kalathil, "Cryptographic data security for reliable wireless sensor network," Alexandria Eng. J., vol. 72, pp. 37–50, Jun. 2023, doi:10.1016/j.aej.2023.03.061.

P. Ramadevi, S. Ayyasamy, Y. Suryaprakash, C. Anilkumar, S. Vijayakumar, and R. Sudha, "Security for wireless sensor networks using cryptography," Meas. Sensors, vol. 29, p. 100874, Oct. 2023, doi:10.1016/j.measen.2023.100874.

H. Kadry, A. Farouk, E. A. Zanaty, and O. Reyad, "Intrusion detection model using optimized quantum neural network and elliptical curve cryptography for data security," Alexandria Eng. J., vol. 71, pp. 491–500, May 2023, doi:10.1016/j.aej.2023.03.072.

S. Gadde, J. Amutharaj, and S. Usha, "A security model to protect the isolation of medical data in the cloud using hybrid cryptography," J. Inf. Secur. Appl., vol. 73, p. 103412, Mar. 2023, doi:10.1016/j.jisa.2022.103412.

R. Achary, C. J. Shelke, K. Marx, and A. Rajesh, "Security implementation on IoT using CoAP and elliptical curve cryptography," Procedia Comput. Sci., vol. 230, pp. 493–502, 2023, doi:10.1016/j.procs.2023.12.105.

D. Shivaramakrishna and M. Nagaratna, "A novel hybrid cryptographic framework for secure data storage in cloud computing: Integrating AES-OTP and RSA with adaptive key management and time-limited access control," Alexandria Eng. J., vol. 84, pp. 275–284, Dec. 2023, doi:10.1016/j.aej.2023.10.054.

M. I. Reddy, M. P. Reddy, R. O. Reddy, and A. Praveen, "Improved elliptical curve cryptography and chaotic mapping with fruitfly optimization algorithm for secure data transmission," Wireless Netw., vol. 30, no. 3, pp. 1151–1164, Nov. 2023, doi:10.1007/s11276-023-03554-8.

Q. Tong, Y. Miao, J. Weng, X. Liu, K.-K. R. Choo, and R. Deng, "Verifiable fuzzy multi-keyword search over encrypted data with adaptive security," IEEE Trans. Knowl. Data Eng., pp. 1–1, 2022, doi:10.1109/tkde.2022.3152033.

D. Chen, H. Wang, N. Zhang, X. Nie, H.-N. Dai, K. Zhang, and K.-K. R. Choo, "Privacy-preserving encrypted traffic inspection with symmetric cryptographic techniques in IoT," IEEE Internet Things J., vol. 9, no. 18, pp. 17265–17279, Sep. 2022, doi:10.1109/jiot.2022.3155355.

L. Zhang, H. Xiong, Q. Huang, J. Li, K.-K. R. Choo, and J. Li, "Cryptographic solutions for cloud storage: Challenges and research opportunities," IEEE Trans. Services Comput., vol. 15, no. 1, pp. 567–587, Jan. 2022, doi:10.1109/tsc.2019.2937764.

M. Nadeem, A. Arshad, S. Riaz, S. W. Zahra, S. S. Band, and A. Mosavi, "Two layer symmetric cryptography algorithm for protecting data from attacks," Comput. Mater. Continua, vol. 74, no. 2, pp. 2625–2640, 2023, doi:10.32604/cmc.2023.030899.

P. Garg and D. Kumar Singh, "Analysis of cryptographic encryption algorithm design to secure IoT devices: A review," Mater. Today Proc., vol. 51, pp. 810–814, 2022, doi:10.1016/j.matpr.2021.06.240.

D. Kumar Sharma, N. Chidananda Singh, D. A. Noola, A. Nirmal Doss, and J. Sivakumar, "A review on various cryptographic techniques & algorithms," Mater. Today Proc., vol. 51, pp. 104–109, 2022, doi:10.1016/j.matpr.2021.04.583.

M. H. Murtaza, H. Tahir, S. Tahir, Z. A. Alizai, Q. Riaz, and M. Hussain, "A portable hardware security module and cryptographic key generator," J. Inf. Secur. Appl., vol. 70, p. 103332, Nov. 2022, doi:10.1016/j.jisa.2022.103332.

Y. Zhou, B. Hu, Y. Zhang, and W. Cai, "Implementation of cryptographic algorithm in dynamic QR code payment system and its performance," IEEE Access, vol. 9, pp. 122362–122372, 2021, doi:10.1109/access.2021.3108189.

A. Ometov, K. Zeman, P. Masek, L. Balazevic, and M. Komarov, "A comprehensive and reproducible comparison of cryptographic primitives execution on Android devices," IEEE Access, vol. 9, pp. 54625–54638, 2021, doi:10.1109/access.2021.3069627.

J. Li, Y. Huang, Y. Wei, S. Lv, Z. Liu, C. Dong, and W. Lou, "Searchable symmetric encryption with forward search privacy," IEEE Trans. Dependable Secure Comput., vol. 18, no. 1, pp. 460–474, Jan. 2021, doi:10.1109/tdsc.2019.2894411.

M. A. F. Al-Husainy, B. Al-Shargabi, and S. Aljawarneh, "Lightweight cryptography system for IoT devices using DNA," Comput. Electr. Eng., vol. 95, p. 107418, Oct. 2021, doi:10.1016/j.compeleceng.2021.107418.

F. Thabit, S. Alhomdy, A. H. A. Al-Ahdal, and S. Jagtap, "A new lightweight cryptographic algorithm for enhancing data security in cloud computing," Global Transitions Proc., vol. 2, no. 1, pp. 91–99, Jun. 2021, doi:10.1016/j.gltp.2021.01.013.

C. Chiñas-Palacios, J. Aguila-Leon, C. Vargas-Salgado, E. X. M. Garcia, J. Sotelo-Castañon, and E. Hurtado-Perez, "A smart residential security assisted load management system using hybrid cryptography," Sustain. Comput. Informat. Syst., vol. 32, p. 100611, Dec. 2021, doi:10.1016/j.suscom.2021.100611.

A. Mondal and R. T. Goswami, "Enhanced honeypot cryptographic scheme and privacy preservation for an effective prediction in cloud security," Microprocess. Microsyst., vol. 81, p. 103719, Mar. 2021, doi:10.1016/j.micpro.2020.103719.

D. B. Rawat, R. Doku, and M. Garuba, "Cybersecurity in big data era: From securing big data to data-driven security," IEEE Trans. Services Comput., vol. 14, no. 6, pp. 2055–2072, Nov. 2021, doi:10.1109/tsc.2019.2907247.

J. S. Prasath, U. Ramachandraiah, and G. Muthukumaran, "Modified hardware security algorithms for process industries using Internet of Things," J. Appl. Secur. Res., vol. 16, no. 1, pp. 127–140, Mar. 2020, doi:10.1080/19361610.2020.1736458.

H. Deng, Z. Qin, Q. Wu, Z. Guan, R. H. Deng, Y. Wang, and Y. Zhou, "Identity-based encryption transformation for flexible sharing of encrypted data in public cloud," IEEE Trans. Inf. Forensics Security, vol. 15, pp. 3168–3180, 2020, doi:10.1109/tifs.2020.2985532.

S. Zhang, H. Xian, Z. Li, and L. Wang, "SecDedup: Secure encrypted data deduplication with dynamic ownership updating," IEEE Access, vol. 8, pp. 186323–186334, 2020, doi:10.1109/access.2020.3023387.

Y. Ke, M.-Q. Zhang, J. Liu, T.-T. Su, and X.-Y. Yang, "Fully homomorphic encryption encapsulated difference expansion for reversible data hiding in encrypted domain," IEEE Trans. Circuits Syst. Video Technol., vol. 30, no. 8, pp. 2353–2365, Aug. 2020, doi:10.1109/tcsvt.2019.2963393.

J. S. Prasath, S. Jayakumar, and K. Karthikeyan, "Real-time implementation for secure monitoring of wastewater treatment plants using Internet of Things," Int. J. Innov. Technol. Exploring Eng., vol. 9, no. 1, pp. 2997–3002, Nov. 2019, doi: 10.35940/ijitee.a9123.119119.

M. H. Al Hasani and K. A. Al Naimee, "Impact security enhancement in chaotic quantum cryptography," Opt. Laser Technol., vol. 119, p. 105575, Nov. 2019, doi:10.1016/j.optlastec.2019.105575.

G. Wu, F. Guo, and W. Susilo, "Generalized public-key cryptography with tight security," Inf. Sci., vol. 504, pp. 561–577, Dec. 2019, doi:10.1016/j.ins.2019.07.041.

R. Hodgson, "Solving the security challenges of IoT with public key cryptography," Netw. Secur., vol. 2019, no. 1, pp. 17–19, Jan. 2019, doi:10.1016/s1353-4858(19)30011-x.

S. Kumar, M. Kumar, R. Budhiraja, M. K. Das, and S. Singh, "A cryptographic model for better information security," J. Inf. Secur. Appl., vol. 43, pp. 123–138, Dec. 2018, doi:10.1016/j.jisa.2018.10.011.

G. Panchal and D. Samanta, "A novel approach to fingerprint biometric-based cryptographic key generation and its applications to storage security," Comput. Electr. Eng., vol. 69, pp. 461–478, Jul. 2018, doi:10.1016/j.compeleceng.2018.01.028.