Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Caesar cipher decoder c++

29/03/2021 Client: saad24vbs Deadline: 2 Day

CS150 Assignment 7 Cryptography

Date assigned: Monday, November 23, 2015 Date Due: Tuesday, December 8, 2015, 9:40 am (40 points) There is no late grace period for this last assignment!!!!! Cryptography is an exciting area of Computer Science concerned with hiding and protecting information. This is the branch of Computer Science that allows you to send your credit card securely to a web site or to decrypt or encrypt secret messages. For this project, you will be building a program that will take a plain text file and produce an encrypted file (or vice versa). The encryption scheme you need to implement is inspired by the Enigma Machine, a German encryption machine from WWII (http://en.wikipedia.org/wiki/Enigma_machine). The Enigma machine code was broken by Alan Turing and his team at Bletchley Park during World War II. Encryption Scheme: Simple substitution A simple substitution cipher (sometimes called a Caesar cipher) maps each letter of the alphabet to another letter of the alphabet as shown below:

To encrypt a letter, find the letter on the top and use the letter below it as the encrypted output. Using the above table, the encrypted output for C would be Z. To decrypt a letter, find the letter on the bottom and use the letter above it as the decrypted output. To make things more interesting, a secret key is used to specify how the input characters are mapped to output characters. The key, which is a single character, specifies which letter the output row starts on. The key in the above example is X. (The input row always starts with A). N-Way Substitution You will need to implement an N-Way substitution encryption scheme. This means you will have N substitution mappings. The character to be encrypted will be used as the input to the first mapping; the output of the first mapping will be the input to the second mapping. The output of the second mapping will be the input to the third mapping, etc. The output of the N-1 mapping is the input to the N mapping, and the output of the N mapping is the encrypted character. Each mapping has its own key, so you will have a total of N secret keys for this scheme. The value N, which is specified by the user, may be between 2 and 25. You must use a single, multidimensional array to represent all of these mappings.

Input 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 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 Output

Encryption example (N = 2, keys of X and R): The initial input character of F gets mapped to C by the first mapping, and this becomes the input of the second mapping. Under the second mapping, this input character gets mapped to T which is the encrypted output character. Mapping 1: Input character: F (decrypted)

partial mapping array

Mapping 2: partial mapping array Output character: T (encrypted)

Decryption example (N = 2, keys of X and R): Decryption works in the opposite direction with the inputs and outputs reversed in each mapping. The input character of T gets mapped to C under the second mapping, and this becomes the input of the first mapping. Under the first mapping, this input character C gets mapped back to F which is the decrypted output character. Mapping 1: Output character: F (decrypted)

partial mapping array

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

ECFX Market
Engineering Mentor
Essay & Assignment Help
Study Master
Finance Professor
Assignment Helper
Writer Writer Name Offer Chat
ECFX Market

ONLINE

ECFX Market

Hello, I an ranked top 10 freelancers in academic and contents writing. I can write and updated your personal statement with great quality and free of plagiarism

$36 Chat With Writer
Engineering Mentor

ONLINE

Engineering Mentor

I have read and understood all your initial requirements, and I am very professional in this task.

$94 Chat With Writer
Essay & Assignment Help

ONLINE

Essay & Assignment Help

You can award me any time as I am ready to start your project curiously. Waiting for your positive response. Thank you!

$102 Chat With Writer
Study Master

ONLINE

Study Master

I have read and understood all your initial requirements, and I am very professional in this task.

$126 Chat With Writer
Finance Professor

ONLINE

Finance Professor

You can award me any time as I am ready to start your project curiously. Waiting for your positive response. Thank you!

$53 Chat With Writer
Assignment Helper

ONLINE

Assignment Helper

I am known as Unrivaled Quality, Written to Standard, providing Plagiarism-free woork, and Always on Time

$88 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Discussion - The journey of my life poem by rabindranath tagore - Cec testing and commissioning sheet - MAnagerial - Condition for monk on tv's monk briefly - Historical context chart - Alternative courses of action - EP Wk2 - Cover page for exam - The zone of tolerance - Socrates dialogue with euthyphro - Lionesse white pearl facial peeling instructions - Types of data ipt - Are macquarie bank capital notes 2 a good investment - Midland case study solution - As/nzs 4815 free download - The men we carry in our minds thesis - Lan to wan domain security - Endeavour energy emergency contact - Bbc digital media initiative revisited case study - Yukl leadership in organizations 8th edition pdf - How much is a nolan ryan rookie card worth - Nemo nisi mors marc jacobs bracelet - Describe the role of three external services during an emergency - Research Proposal On The "Impact Of Organisational Culture On Personnel Performance In Nigeria Civil Service" - 747-8 max takeoff weight - Cultural diverdity - Centaurplus c27 wiring y plan - Traffic signs regulations and general directions - Hellenistic cosmopolitanism expressed itself in all of the following ways except - Marymount university shuttle - Annotated bibliography on childhood obesity - Teacher aide award qld - Direct connect gateway limits - Epidemiology - Example of a dietary analysis - Stylistic choices in film - Nursig - Bc designated inspection facility - Health care industry Threat model with risks and justifications. - Cafe creme vanilla filter 8s - Wdbacw0010hbk eesn 1 tb - Adaptations to aerobic training - BUSI510 Week 3 Assignment - Capitulo 7 vocabulario 2 answers - Billy elliot essay questions hsc - Assignment 1: Combating Juvenile Delinquency - Kings and queens song lyrics horrible histories - Questions about public speaking class - I need 5 articles 1500 words (300 words for each ) on Ageing workforce - Pam runs a mail order business for gym equipment - Dental pro 7 reviews - The governess turn of the screw - Risk analysis for medium scale expansion excel - 7-1 Activity: Multimedia Presentation Planning Worksheet - Colours of uganda flag - Hudek inc a manufacturing corporation - The authorial voice is best defined as __________ - Ammonium hydroxide and silver nitrate chemical equation - Lord of the flies discussion questions chapter 7 - Recombination rate in semiconductor formula - HR: Post and responses - Patrick corporation acquired 100 percent of o brien company - Atomy sandwich laver purple rice slice - What is an example of a physical contaminant servsafe - Week 2 Marketing Management - Allyl cyanide sigma and pi bonds - Paradise malt biscuits iga - A case of pharyngitis case study answers - Modi podi underwear - 1-4 Project 1 and Project 2 Review - How many pages is 1300 words double spaced - Big bang theory astrophysics - Hospitality institute of australia - 1289 kandanga creek road - Strategies for professional development in nursing - Liverpool council nsw contact - Connectivity and its discontents by sherry turkle essay - Ranked vulnerability risk worksheet - The fundamental tool for etiologic studies of both acute and chronic diseases. - Acid and metal reaction experiment - Cranberry juice homogeneous or heterogeneous - Apex learning practice assignment - Alfred adler birth order ppt - Network design proposal for hotel - Walden's mission of social change - Assembly program to count number of words in a string - Htc and virtual reality case analysis - International business competing in the global marketplace 13th edition - Strengths and weaknesses of hawthorne studies - Discussion - Top 2000 lijst 2018 - University of phoenix blackboard ultra - The Stanford Prison Experiment - MARKETING PLAN - Trevor noah colorblind - Peyton approved final project - Philosophy here and now 3rd edition pdf - Acara scope and sequence maths - Artificial intelligence in power station ieee paper