This repository contains a Python program that performs encryption using the Hill cipher algorithm. The program takes two text files as input: a key file and a plain text file, and outputs an encrypted text file.
- Clone the repository or download the code.
- Place your key file (e.g.,
key.txt
) and plain text file (e.g.,plaintext.txt
) in the same directory as the Python script. - Open your terminal or command prompt and navigate to the directory containing the script and the text files.
Execute the following command in the terminal:
python3 pa01.py key.txt plaintext.txt