Oct 01, 2017 Download source code - 1.5 KB; Introduction. This is the C answer to a specific question in Q&A, namely this one. 2x2 Hill is a simple cipher based on linear algebra, see this link. This implementation follows the algorithm recipe at Crypto Corner here. Using the Code. A single class, HillCipher, is implemented. On the other hand, hill cipher could be adapted into the telegraph framework on those. The source code of this post is pushed into the GitHub.
This program has the capability to encrypt or decrypt text based on the key matrix provided. The program takes a matrix of numbersinterpreted as the key for encryption or decryption. In order for the encryption or decryption to be successful, the key matrix input should be invertible.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
What you need to run the program:
Running the Program
In order to run the program, download the source files into the same folder and open hill-cipher.html with a browser of your choice.
Author
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |