Basics of code development on linux and cryptography

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

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: EM135321

Questions Cloud

Leadership theorem : Choose two of the ILF presentations and debate their lessons for leadership. You should use theory in your answers discussing how the case exemplifies or differs from the theory.
Evaluate the success of the overall strategy : Assess the techniques used by QinetiQ for improving business processes and evaluate the success of the overall strategy.
Evaluate the effectiveness of stms strategy : Evaluate the effectiveness of STM's strategy of combining as many existing initiatives as possible in order to simplify their approach to TQM.
What kind of product or service does the business produce : What kind of product or service does the business produce? Is it identical to others in the industry or is it differentiated to some degree or perhaps unique
Basics of code development on linux and cryptography : Prepare a C program that gives simple mono-alphabetic substitution between plaintext, and Enhance your code to use "-e" to encrypt a string argument and "-d" to decrypt it using argv and argc
Develop monthly cash flow diagrams : Develop MONTHLY cash flow diagrams and analyze the OWN vs. LEASE options to determine which is the better situation.
Declines to honour the express warranty : Andy declines to honour the express warranty he made to her at the time of the sale. Big Finance Co. sues Amanda for non-payment. In general, any defence that Amanda may have against Andy is good against Big Finance Co
Determine the cost of equity based on capm : Determine the cost of equity based on CAPM? Compute the firm's WACC? Estimate the cash flow for each year of this project
Prepare a balanced scorecard for the unit : Prepare a Balanced Scorecard for the unit of an organization of your choosing (Red Lobster).The organization may be Red Lobster (the restaurant).

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Structured programming using procedural languages

A a program that is called "Playing with Numbers or Letters".

  Loops and if conditions

Write a program that requests a password

  Implement the delivery company

Implement the delivery company using the classes given in the class diagram above.

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Develop a basic temperature class

You have to develop a basic temperature class

  Write a program that will be used to gather statistical data

Write a program that will be used to gather statistical data about the number of movies

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Create a base employee class

Create a base Employee class and a derived StudentEmployee class

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Prepare a program that uses the pthread library

Prepare a C/C++ program that uses the PTHREAD library to create threads and mutexes to synchronize them.

  Prepare a linear support vector machine svm

Write a computer program to prepare a Linear Support Vector Machine SVM

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