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

  It infrastructure groups

Information Technology infrastructure groups are often responsible for direct customer interaction and associated customer service.

  Determine the encrypted message-s entropy

If this message is sent unencrypted and successfully received, determine its entropy? If this message is encrypted with DES using random 56-bit key, determine the encrypted message's entropy?

  Question about program consistency

Please provide an example of a event where consistency has caused too many problems? Is there a program you have used in your own work environment where consistency has caused problems?

  Owasp top 10 web application security risks

Reflected XSS and Stored XSS attack, threat Modeling methodologies, Extended Stack Pointer (ESP) and the Extended Base Pointer (EBP), Canary-based defense to buffer overflow attacks in C language, admin.aspx, Index hijacking, cross-site request fo..

  Create alternative message which has hash value

Generates the alternative message which has a hash value which collides with Bob's original hash value. Illustrate a message that Alice may have spoofed, and demonstrate that its hash value collides with Bob's original hash.

  Piece of code that allows a buffer

Give an example of piece of code that allows a buffer over run to occur. Assuming a program contains absolutely no buffer over runs. What other control flow-related problems may it have.

  Discuss two drawbacks of steganography

Discuss two drawbacks of steganography Describe the operation of a Trojan Horse program. How can we protect our computer from such a program

  Why are scada systems particularly vulnerable to cyber treat

Why are SCADA systems particularly vulnerable to cyber treats? C. Using the X.805 security framework as a reference, discuss the SCADA security requirements for an electric, water or oil refinery enterprise.

  Explain security model of class using cnss model

suppose that the security model is required for protection of your class. Using CNSS model, examine each of the cells and write a short statement.

  Modern symmetric encryption schemes

Pseudo-random generators, pseudo-random functions and pseudo-random permutations

  Cluster architecture for the servers and databases

What type of OS to use along with the file system and why is this architecture is better than others? Will you use the same OS for servers and Desktops? Will your file system of choice provide security?

  Determine primary security risk that users must acknowledge

Based on the article by Lenning (2005), determine a primary security risk that users must acknowledge when using macros? Why is it significant to educate users of these risks once their dilemma is resolved?

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