Application of Linear Algebra in the Hill Cipher for Encryption and Decryption

Authors

  • Tri Wahyu Pujianto Universitas Islam Negeri siber Syekh Nurjati Cirebon Author
  • Muhammad Abdurrahman Universitas Islam Negeri Siber Syekh Nurjati Cirebon Author
  • Ahmad Ardi Sela Universitas Islam Negeri Siber Syekh Nurjati Cirebon Author
  • Layli Hardiyanti Universitas Islam Negeri Siber Syekh Nurjati Cirebon Author

DOI:

https://doi.org/10.24235/ijati.v1.i1.670

Keywords:

Hill Cipher, modular matrix, encryption-decryption, matrix inverse, modulo 26 arithmetic

Abstract

Cryptography is the science of securing information through mathematical transformations. Hill Cipher, developed by Lester S. Hill in 1929, is a classical cryptographic algorithm that directly applies matrix operations within modular arithmetic. This study analyzes the linear algebra foundations of Hill Cipher, covering plaintext representation as column vectors, encryption via n×n key matrix multiplication in Z26, and decryption using modular matrix inverses. The method employed is a systematic literature review (2021–2025) and computational simulation using a 2×2 key matrix. Results show that the invertibility condition for key K is gcd(det(K), 26) = 1; a simulation of plaintext “HELP” with key K = [[3,3],[2,5]] produced ciphertext “HIAT”, which was successfully verified through decryption. This research affirms the pedagogical value of Hill Cipher as a bridge between linear algebra theory and applied cryptography, while also identifying its vulnerability to known-plaintext attack.

Downloads

Published

2026-06-30

Issue

Section

Articles