MSA: A Multi-Key Block Encryption Algorithm with 3×3 Random Matrix Keys for Enhanced Data Security

Authors

DOI:

https://doi.org/10.54361/ajmas.269314

Keywords:

MSA Algorithm, Cipher Keys, Block Matrices, Encryption, Decryption

Abstract

This paper presents a novel block encryption and decryption algorithm, referred to as the MSA algorithm, which is fundamentally based on block-based cryptographic principles. In the proposed scheme, the plaintext is first arranged into a matrix of size  and then partitioned into a set of  matrix blocks. The MSA algorithm performs block encryption by encrypting each block independently using two distinct encryption keys that are automatically generated for each block. A unique pair of keys is assigned to every block, where the keys are square matrices with the same dimensions as the blocks and are generated through an indirect mathematical mechanism. Each element within a block is encrypted individually through a combined and highly complex mathematical process that simultaneously relies on both keys. This block-wise, element-level encryption significantly increases the algorithm’s complexity and enhances its resistance to cryptanalytic attacks. After encrypting all blocks, the ciphertext blocks are reassembled into an encrypted matrix that preserves the original dimensions of the plaintext matrix prior to block partitioning. During the decryption phase, the encrypted matrix is again divided into blocks. However, the decryption keys are mathematically generated from the original encryption keys and differ from them in both size and structure, as they are represented by  matrices. These keys are produced through a controlled, randomized permutation of the encryption key elements. Each encrypted element is then decrypted individually using the corresponding decryption keys, ensuring accurate recovery of the original plaintext. The proposed MSA algorithm adopts an advanced block-based encryption methodology aimed at enhancing information security, providing effective protection for sensitive data, and reducing the risk of unauthorized access, thereby offering improved security and efficiency compared to many conventional block encryption schemes.

Downloads

Published

2026-03-11

How to Cite

1.
Abdullah Abdulsamad, Mohanad Seyam, Samyrah Abu Irzayzah. MSA: A Multi-Key Block Encryption Algorithm with 3×3 Random Matrix Keys for Enhanced Data Security. Alq J Med App Sci [Internet]. 2026 Mar. 11 [cited 2026 Mar. 11];:628-40. Available from: https://journal.utripoli.edu.ly/index.php/Alqalam/article/view/1474

Issue

Section

Articles