Basics of code development on linux and cryptographya

Assignment Help C/C++ Programming
Reference no: EM13351301

Basics of Code Development on Linux and Cryptography

a) Prepare a C program that gives simple mono-alphabetic substitution between plaintext,

all upper case [ABCDEFGHIJKLMNOPQRSTUVWXYZ] and cipher-text all upper case [QWERTYUIOPASDFGHJKLZXCVBNM] indexed as a look-up C array table 0...25 so that the subsequent phrase (ignoring white space) is encrypted - SEAWOLVES ARE NUMBER ONE. After you have written your C cypher using mono-alphabetic substitution, give the encrypted version of the plaintext test here:

SEAWOLVES ARE NUMBER ONE = _______________________________________________


b) Enhance your code to use "-e" to encrypt a string argument and "-d" to decrypt it using argv and argc. Add a transposition feature that will be turned on/off via a command line switch "-t" and make sure that you provide a Makefile so that I may just use "make" to build your code to test it on VB-Linux. Comment your code well and provide examples of both encryption and decryption of strings up to 40 characters in length that are provided on the command line.

Reference no: EM13351301

Questions Cloud

Leadership theoremchoose two of the ilf presentations and : leadership theoremchoose two of the ilf presentations and debate their lessons for leadership. you should use theory in
Questions1assess the techniques used by qinetiq for : questions1.assess the techniques used by qinetiq for improving business processes and evaluate the success of the
Evaluate the effectiveness of stms strategy of combining as : evaluate the effectiveness of stms strategy of combining as many existing initiatives as possible in order to simplify
1 briefly define the business2 how many businesses of this : 1 briefly define the business.2 how many businesses of this kind are there in the area? in the country?3 how easy is it
Basics of code development on linux and cryptographya : basics of code development on linux and cryptographya prepare a c program that gives simple mono-alphabetic
Amanda purchases a vacuum cleaner to use in her home from : amanda purchases a vacuum cleaner to use in her home from retailer andy. amanda assurances to pay for it in six monthly
Prepare a balanced scorecard for the unit of an : prepare a balanced scorecard for the unit of an organization of your choosing red lobster.the organization may be red
I truly loved the work you put into the project thanks a : i truly loved the work you put into the project. thanks a lot however i do have some things i wanted you to redo if
You will be allocated to a group you are part of a global : you will be allocated to a group. you are part of a global electronics company that has offices in germany india paris

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a c program that asks for and reads in two integers

Write a C program that asks for and reads in two integers and then reports if one is a multiple of the other.

  Create a program that outputs the result of the formula

Create a program that outputs the result of the formula f = (a - b)(x - y) using the printf() functions.

  Use the convention that all years have 360 days

In writing the days() function, use the convention that all years have 360 days and each month consists of 30 days. The function should return the number of days for any Date structure passed to it. Write a main () function to test your function.

  Write a program that uses 3 input files and 3 output files

write a program that uses 3 input files and 3 output files.

  Show the deatils of an emplyoee - c programming

Show the deatils of an emplyoee in a neat format.

  Techniques for information hiding and encapsulation

What techniques did you utilize for information hiding and encapsulation? Are there any improvements you would make? If so, what would they be?

  The two-dimensional array

1. Given the two-dimensional array declared by the following statement int myArray[4][3] = {{2,4,6},{1,8,10},{3,5,7},[9,11,13}}; what is the value of myArray[1][2]

  Write a program that reads from a file a list of course name

Write a program that reads from a file a list of course names, letter grades for each course and number of credits each course is worth. The program will read each course name, grade earned and number of credits from the file and print out the course..

  Stability in an ever-changing technology world

Where do you think C++ and coding games in C++ is headed in the next five years? How about in the next 10 years? Do you think there are any significant improvements that need to be made to the code to ensure its stability in an ever-changing t..

  Wrtie a function called gen_rand_double_array

Wrtie a function called gen_rand_double_array that generates 900 samples of size 22500 random numbers from U(10, 12). For each of these 900 samples, write a main funciton that calculates the mean and finds the simulated probability that the mean is b..

  Operating system and cpu scheduling

Operating System and CPU Scheduling

  Write a program that will calculate the percentage

Write a program that will calculate the percentage wins of a team. The program will input the number of wins and losses that a team acquired during a season. The wins should be input in a parameter-less value returning function that returns the wi..

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