Giter Club home page Giter Club logo

railfence-cipher's Introduction

RAILFENCE-CIPHER USING AN ADJACENCY LIST

An illustration of how Data structures can be used to encrypt and decrypt data using a classical transposition cipher-Railfence cipher A fun project created to demonstrate the usage of adjacency list in the encryption and decryption of a plaintext using Railfence Cipher

RAILFENCE CIPHER:

A classical transposition cipher that is, the charcaters in the plaintext are
arranged in a certain order,(here arranged in a zig zag pattern)
and the cipher text is produced by popping all the elements in
the adjacency list row-wise.
The number of rows is to be chosen by the user (generally 3/4/5)

INPUT FORMAT:

1. user is asked to select either of the two choices (Encryption or Decryption)

2. based on the choice,redirects the user to that particular choice

3. If a plaintext is being encrypted then the user is asked to
   enter the plaintext which is to be encrypted, the encrypted
   text is then displayed on the terminal

4.If a ciphertext is being decrypted then the user is asked to
  enter the ciphertext to be decrypted, the palintext is
  displayed on the terminal

5. The user has to enter the key,remeber the same key value is

   used for both decryption and encryption as in the case of a
   classical cipher.

railfence-cipher's People

Contributors

randomforestpanda 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.