Giter Site home page Giter Site logo

mahekdesai / deciphering-combination-of-simple-shift-and-columnar-transposition-ciphers Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 438 KB

In this endeavor, I've delved into the intricate world of cryptographic puzzles, taking on the challenge of deciphering a unique fusion cipher that incorporates elements of both simple shift and columnar transposition techniques. The goal? To unlock hidden messages and understand the artistry behind secure communication methods.

Python 100.00%
columnar-transposition-cipher cybersecurity deciphering python simple-shift-cipher

deciphering-combination-of-simple-shift-and-columnar-transposition-ciphers's Introduction

Overview

Welcome to the repository for my COMP424 Assignment 1 project! This project focuses on deciphering a combination of simple shift and columnar transposition ciphers applied to a given ciphertext. The decryption process is designed to determine if a student is prepared for a test based on selected features.

Project Structure

Files

  1. decipher.py: The main Python script containing the implementation of the deciphering process.

  2. dictionary.txt: A text file containing a list of words used for reference in the deciphering process.

How to Run

  1. Ensure that you have Python installed on your system.

  2. Clone this repository to your local machine.

  3. Navigate to the project directory.

  4. Run the Python script.

  5. The final deciphered text will be displayed if the criteria for test preparedness are met.

Project Details

Cryptographic Techniques Used

  • Simple Shift Cipher Decryption: Deciphers the initial text using a simple shift cipher with a variable number of shifts.

  • Columnar Transposition Cipher Decryption: Applies decryption using a columnar transposition cipher with multiple potential keys.

Algorithmic Approach

  1. Read Dictionary: Loads a list of words from the provided "Dictionary.txt" file.

  2. Frequency Analysis: Identifies the most frequently occurring characters in the ciphertext to determine potential shifts for the simple shift cipher.

  3. Deciphering Attempts: Conducts deciphering attempts using potential shifts and keys for both the simple shift and columnar transposition ciphers.

  4. Word Splitting: Applies word splitting techniques to evaluate the validity of potential deciphered texts.

  5. Output: Displays the final deciphered text that meets the specified criteria for test preparedness.

Note

  • The script is designed to be versatile, and you can modify the ciphertext and the list of common characters according to your specific use case.

  • Feel free to explore and enhance the project based on your cryptographic interests and requirements!

Happy deciphering! ๐Ÿ•ต๏ธโ€โ™‚๏ธ๐Ÿ”

deciphering-combination-of-simple-shift-and-columnar-transposition-ciphers's People

Contributors

mahekdesai avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.