Code Monkey home page Code Monkey logo

key-transposition-cipher-cryptography-'s Introduction

KEY-TRANSPOSITION-CIPHER-cryptography-

Key Transposition Cipher The Key Transposition Cipher is a simple encryption technique that involves rearranging the characters of a message according to a provided key. This cipher provides a way to scramble the message making it difficult to understand without the corresponding key for decryption.

How it Works Encryption: Start with a plain text message that you want to encrypt. Choose a key, which is a sequence of characters that will determine the transposition pattern. Write the plain text message row by row into a grid, following the length of the key. Order the columns of the grid based on the numerical order of characters in the key. Read the encrypted message from the transposed columns of the grid.

Decryption: Start with an encrypted message that you want to decrypt. Obtain the key that was used for encryption. Determine the number of rows needed in the grid based on the length of the key. Create an empty grid with the determined number of rows and the same number of columns as the key length. Fill the grid by writing down the encrypted message row by row. Order the columns of the grid based on the numerical order of characters in the key. Read the decrypted message from the original order of the columns in the grid.

NOTE:- The "z" in this application is used to fill the empty spaces in the last row of two dimensition arryay so that no spaces are seen in cipher text.The character Z is removed later while decrypting

key-transposition-cipher-cryptography-'s People

Contributors

sudeep-naik 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.