Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 755 Bytes

README.md

File metadata and controls

46 lines (30 loc) · 755 Bytes

Encrypted Message Board using 4x4 Hill Cipher

Encrypted Message Board implemented using Hill Cipher Encryption algorithm which uses 4x4 key matrix.

Constraints

  • Does not support numbers, special characters.
  • Key matrix should be invertible modulo 26.

Tech Stack used

  • python
  • flask
  • flask-socketio
  • jquery
  • bootstrap

Usage

1. pip3 install flask flask-socketio
2. python3 main.py

Key Matrix

An example for 4x4 key matrix is:

8  6 9  5
6  9 5  10
5  8 4  9
10 6 11 4

Required condition: Key matrix should be invertible modulo 26.

Screenshots

  • Encrypted messages

    alt text

  • Decrypted messages

    alt text