Giter Site home page Giter Site logo

vigenere's Introduction

Vigenere

Program to decrypt/encrypt a passage using Vigenere cipher technique.

Just run the file and it will prompt you to make a choice betweeen encrypting or decrypting

In both the encrypting or decrypting choice you will see the following input questions:

The first keyword, which creates the alphabet "top" line of the matrix. The keyword here currently must contain only one instance of each letter of the alphabet. For example you can use "Help" but not "Helper" since "Helper" has two e's.

The second keyword, which creates the lines undeaneath the top line. This finishes the "matrix" used for encoding/decoding. You can use any word here, it can contain more than one instance of a letter. So you could use "Helper" here.

The passage to encrypt/decrypt.

You can take a look at this rather quick YouTube video to see the basics of how Vigenere ciphers work.

https://www.youtube.com/watch?v=0Pm2PrxmU38


I would suggest you try first doing something where you know the keys, as well as the encrypted/decrypted passages just to test that it is working. Something like the first Kryptos passage (K1) from the CIA Kryptos sculpture which is listed below. Please note that "illusion" in the text below is intentionally misspelled:

ENCRYPT

First Key: KRYPTOS
Second Key: PALIMPSEST
Enter passage you wish to encrypt: Between subtle shading and the absence of light lies the nuance of iqlusion

Encrypted passage you should get returned: EMUFPHZLRFAXYUSDJKZLDKRNSHGNFIVJYQTQUXQBQVYUVLLTREVJYQTMKYRDMFD

DECRYPT

First Key: KRYPTOS
Second Key: PALIMPSEST
Enter passage you wish to decrypt: EMUFPHZLRFAXYUSDJKZLDKRNSHGNFIVJYQTQUXQBQVYUVLLTREVJYQTMKYRDMFD

Decrypted passage you should get returned:
Betweensubtleshadingandtheabsenceoflightliesthenuanceofiqlusion

vigenere's People

Contributors

jb1984 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

samwooks simrit1

vigenere's Issues

Flask App Creation

Build a Flask App using this codebase. It would step people through Vigenere by tutorial showing how it is created and then also allow them to encrypt/decrypt their own messages.

Major part of building the Flask app would be explanation/educational part about how Vigenere works. Would be cool to have it be a step by step guide that "animates" the process for the user.

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.