An open API service indexing awesome lists of open source software.

https://github.com/mariam-badr-mb/route-cipher

Route Cipher is a transposition cipher that arranges the message into a grid and then reads it in a spiral order, starting from the outer boundary towards the center. The encryption and decryption are based on a secret key (number of columns), which determines the size of the grid.
https://github.com/mariam-badr-mb/route-cipher

cplusplus-20 cpp

Last synced: 5 months ago
JSON representation

Route Cipher is a transposition cipher that arranges the message into a grid and then reads it in a spiral order, starting from the outer boundary towards the center. The encryption and decryption are based on a secret key (number of columns), which determines the size of the grid.

Awesome Lists containing this project

README

        

# Route Cipher Program

This program implements the **Route Cipher**, an encryption and decryption method where a message is written into a grid and then read in a spiral order. The program allows the user to choose between encryption and decryption, input their message, and provide a secret key (column size).

## Features

- **Route Cipher**: Encrypts and decrypts messages by writing them in a grid (matrix) and reading the grid in a spiral order.
- **Secret Key**: The secret key is the number of columns used to create the grid. The program will prompt for the secret key during encryption and decryption.

## Usage

1. Clone this repository to your local machine:
```bash
git clone https://github.com/yourusername/route-cipher.git
cd route-cipher