WebClub-NITK / Hacktoberfest-2k19

19 stars 115 forks source link

Vigenére cipher #193

Closed mohit-raghavendra closed 5 years ago

mohit-raghavendra commented 5 years ago

Description

Given a key, write a program to encrypt/decrypt the given text using Vigenére cipher.

Details

Resources

https://en.m.wikipedia.org/wiki/Vigenère_cipher http://practicalcryptography.com/ciphers/classical-era/vigenere-gronsfeld-and-autokey/

Directory Structure

Create a folder named '193'(193 as in the issue number) in 'systems' folder. Name your program file as 'vigenere.cpp' or 'vigenere.c' or 'vigenere.py', etc as seen appropriate to the language of your choice. Add this program file to the folder '/systems/193'.

Note

Please claim the issue first by commenting here before starting to work on it.

For co-ordinators/maintainers creating the issues

While submitting a PR, request a review from @Z0marlin Doubts and clarifications are welcome.

him1anshu commented 5 years ago

I want to work on this issue.@Mohit-Mithra @Z0Marlin

him1anshu commented 5 years ago

the input will be in uppercase and without spaces by default or it can also take input in lowercase and with spaces then it should do the conversion after changing the input into uppercase and without spaces?@Mohit-Mithra @Z0Marlin

z0marlin commented 5 years ago

@him1anshu Go ahead! The input will have alphanumeric characters and white spaces. It can also have punctuations and special characters. The Cipher should only operate on the alphabets though, i.e. [ a-z] and [A-Z].

Eg: This is an EXAMPLE input for issue #193.

him1anshu commented 5 years ago

ok...thanks.@Z0Marlin

him1anshu commented 5 years ago

Please review the code.I have made the changes.@Z0Marlin