Encryption and decryption of the vigenere cipher

Assignment Help Computer Network Security
Reference no: EM13189189

1. Implement both encryption AND decryption of the Vigenere cipher with 26 English letters and 1 space character "_" in its tableau as shown in class. You may use any major programming languages.

You will get extra 5 points if you add a cgi interface to this cipher.

2. The following cipher-text was encrypted using the Vigenere cipher with 26 English letters and 1 space character "_" in its tableau as shown in class:

tyxvahlvowsrahsoervceispsqlj_hxgyqfjtqgi_j___bafebacoewvowsohvs_nvet_dgo_tghidzvbklvodsjuhsjwdsmerwdnvkn_jgvrvv_ilxvhzevnelvodsohvsyhrfyeqga_yan_dgo_rloatcdnxsxujsmaj__rqgi_j___wtytqlcajsreq_wvvshauxvokjvpekdtzgi_kfwsitdlrugeqlceqxidqtidqtdmqga_ihtidzvidswlbsdtisailxvvrjdeja_sqan_afjwbxzgvsjfqlceqxiecqvadwvtyan_afjwbxzgvsyadsjnbqvbvszehaqeusdnqlceqydrilvidkoadv__wjjmqlceqvjnlxmtvwvsfqvhvfyeqao_zkveik_njawlqlcajsohvsyodn_rjxz_iht_sxvthxwtvwvwzlc_j___klhoilvlzu_rrddto

This cipher-text is also downloadable from this file .

The plaintext consists of several meaningful English sentences.

a). Try to decrypt this message. Write down your decryption procedure.

b). In general, how do you break the simple vigenere cipher?

3. Implement the 3-rotor machine with the wirings as shown in Fig. Your implementation should be able to easily change a) the order of the 3 rotors b) the initial rotational positions of the rotors.

New : now you can check your rotor implementation here .

What to sumbit : submit any paper version of your homework in class on Sep. 20, and also send me a URL which contains all your files related to this homework, such as readme files, source codes, executables.

The Vigenere Tableau

A       B       C       D       E       F       G       H       I       J       K       L       M        N       O       P       Q       R       S       T       U       V       W       X       Y        Z       -

A       A       B       C       D       E       F       G       H       I       J       K       L        M       N       O       P       Q       R       S       T       U       V       W       X        Y       Z       -

B       B       C       D       E       F       G       H       I       J       K       L       M        N       O       P       Q       R       S       T       U       V       W       X       Y        Z       -       A

C       C       D       E       F       G       H       I       J       K       L       M       N        O       P       Q       R       S       T       U       V       W       X       Y       Z        -       A       B

D       D       E       F       G       H       I       J       K       L       M       N       O        P       Q       R       S       T       U       V       W       X       Y       Z       -        A       B       C

E       E       F       G       H       I       J       K       L       M       N       O       P        Q       R       S       T       U       V       W       X       Y       Z       -       A        B       C       D

F       F       G       H       I       J       K       L       M       N       O       P       Q        R       S       T       U       V       W       X       Y       Z       -       A       B        C       D       E

G       G       H       I       J       K       L       M       N       O       P       Q       R        S       T       U       V       W       X       Y       Z       -       A       B       C        D       E       F

H       H       I       J       K       L       M       N       O       P       Q       R       S        T       U       V       W       X       Y       Z       -       A       B       C       D        E       F       G

I       I       J       K       L       M       N       O       P       Q       R       S       T        U       V       W       X       Y       Z       -       A       B       C       D       E        F       G       H

J       J       K       L       M       N       O       P       Q       R       S       T       U        V       W       X       Y       Z       -       A       B       C       D       E       F        G       H       I

K       K       L       M       N       O       P       Q       R       S       T       U       V        W       X       Y       Z       -       A       B       C       D       E       F       G        H       I       J

L       L       M       N       O       P       Q       R       S       T       U       V       W        X       Y       Z       -       A       B       C       D       E       F       G       H        I       J       K

M       M       N       O       P       Q       R       S       T       U       V       W       X        Y       Z       -       A       B       C       D       E       F       G       H       I        J       K       L

N       N       O       P       Q       R       S       T       U       V       W       X       Y        Z       -       A       B       C       D       E       F       G       H       I       J        K       L       M

O       O       P       Q       R       S       T       U       V       W       X       Y       Z        -       A       B       C       D       E       F       G       H       I       J       K        L       M       N

P       P       Q       R       S       T       U       V       W       X       Y       Z       -        A       B       C       D       E       F       G       H       I       J       K       L        M       N       O

Q       Q       R       S       T       U       V       W       X       Y       Z       -       A        B       C       D       E       F       G       H       I       J       K       L       M        N       O       P

R       R       S       T       U       V       W       X       Y       Z       -       A       B        C       D       E       F       G       H       I       J       K       L       M       N        O       P       Q

S       S       T       U       V       W       X       Y       Z       -       A       B       C        D       E       F       G       H       I       J       K       L       M       N       O        P       Q       R

T       T       U       V       W       X       Y       Z       -       A       B       C       D        E       F       G       H       I       J       K       L       M       N       O       P        Q       R       S

U       U       V       W       X       Y       Z       -       A       B       C       D       E        F       G       H       I       J       K       L       M       N       O       P       Q        R       S       T

v       V       W       X       Y       Z       -       A       B       C       D       E       F        G       H       I       J       K       L       M       N       O       P       Q       R        S       T       U

W       W       X       Y       Z       -       A       B       C       D       E       F       G        H       I       J       K       L       M       N       O       P       Q       R       S        T       U       V

X       X       Y       Z       -       A       B       C       D       E       F       G       H        I       J       K       L       M       N       O       P       Q       R       S       T        U       V       W

Y       Y       Z       -       A       B       C       D       E       F       G       H       I        J       K       L       M       N       O       P       Q       R       S       T       U        V       W       X

Z       Z       -       A       B       C       D       E       F       G       H       I       J        K       L       M       N       O       P       Q       R       S       T       U       V        W       X       Y

-       -       A       B       C       D       E       F       G       H       I       J       K        L       M       N       O       P       Q       R       S       T       U       V       W        X       Y       Z

Reference no: EM13189189

Questions Cloud

Compares and contrasts linux server and linux workstation : Your company is currently investigating the use of Linux. Your manager has asked you to research the feasibility of using Linux in both the server and workstation environments. Your manager would like to see an 8- to 10-page paper that:
Ways in which greater eductional oppotunity for young women : In many developing nations, young women have lower enrollment rates in secondary school than do young men. Describe several ways in which greater eductional oppotunities for young women could lead to faster economic growth in these countries
How to produce linear combination of chickens : Sara devoted all her resouces for growing potatoes, she can raise 200 pounds of patotoes per year. If she devotes all her resources to raising chickens, she can raise 50 chickens per year.(If she apportions some resources to each, then she can pro..
What is effective annual interest rate : a bank gives you a loan of 1000 now. You have to make a payment of 500 after 9 months and a payment of 600 after 12 months. What is effective annual interest rate?(set up equation for B(beta)
Encryption and decryption of the vigenere cipher : Implement both encryption AND decryption of the Vigenere cipher with 26 English letters and 1 space character "_" in its tableau as shown in class.
Find the standard deviation of the data summarized : A company had 80 employees whose salaries are summarized in the frequency distribution below. Find the standard deviation. Find the standard deviation of the data summarized in the given frequency distribution.
How fast does each bicyclist travel : Elena bicycles 5km/h faster than Dennis. In the same time it takes Dennis to bicycle 36km, Elena can bicycle 51km. How fast does each bicyclist travel?
According to the text’s narration : According to the text’s narration, people of the Unified Silla and Koryo respected geomancy and its occult teachings. What are the possible causes for this?
What will happen to interest rates on treasury securities : Predict what will happen to interest rates on a corporation's bonds if the federal government guarantees today that it will pay creditors if the corporation goes bankrupt in the future.

Reviews

Write a Review

Computer Network Security Questions & Answers

  Basic encryption and platform security

Read and summarize "Big iron lessons, Part 5: Introduction to cryptography, from Egypt through Enigma"

  Future threats to network security - research paper

Deliver a research paper and presentation based on your research - Future threats to network security and planning for those threats

  Security by obscurity

Defacement, Infiltration, Phishing, Pharming, Insider Threats, Click Fraud, Denial of Service, Data Theft/Loss, IP Whitelisting and IP Spoofing, recursive PHP functio, worm and a virus, hash on a string using MD5

  What is the resulting cipher

What is the resulting cipher - Given your answer, is security of the a!ne cipher with a given modulus m increased if one encryption is followed by a second encryption with a different key?

  Strategies and recommendations to the cio

Explain in detail why you believe the risk management, control identification, and selection processes are so important, specifically in this organization and draft a one page Executive Summary that details your strategies and recommendations to t..

  Protection of transmitted information-sensitive data stored

You must include in your investigation protection of both transmitted information also sensitive data stored locally in computer databases.

  Write a report on denial of service

Write a report on DENIAL OF SERVICE (DoS).

  Cyber-terrorist crime and security breach

Large Commercial Corporation has witnessed a terrorist security breach of network, and has discovered one laptop on the scene belonging to victim.

  Explain rsa public-key encryption scheme

Consider the plain (i.e., non-padded) RSA public-key encryption scheme. Encrypt the message m = 12 using the public key pk = (N,e), where N = 35 and e = 3.

  The relation between passwords and key size

the relation between passwords and key size. For this purpose we consider a cryptosystem where the user enters a key in the form of a password

  Cryptosystem

Block cipher, Primitive root, Confusion, Diffusion, Digital signature, Conventional Symmetric-Key Encryption

  Protocol stack for wap2

WAP protocol, cellular network infrastructure, SSL protect against eavesdropping, network datagrams (packets) be protected at the network layer, pin and fingerprint, Certificate Revocation, Public Key Infrastructure, modern symmetric algorithm bl..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd