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

  Computer programming techniques

Construct a program from a design and use appropriate functions

  Perform operations on arrays

Perform operations on arrays execute tests and repetitions

  Represent an instruction supported by simpletron

Implementation contains a Simpletron class and several supporting Instruction classes

  Iterative programming problem solving approaches

Write a recursive function void reverse ( ) that reverse a sentence

  Develop a two dimensional interactive game

The player starts as a disk, but can "morph" (that is expand and contract) in selected directions

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Uml diagram of all the classes

Speaking of converting into the correct object-type, the goal of the factory is to abstract away object creation.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implement the guess the word

Implement  the ‘Guess the Word' game in an object-oriented manner

  Create a template class

Create a template class, SVector, that implements a constructor

  Prepare a linux shell

Prepare a linux shell (in other words, write a C/C++ program) that will recursively prompt for input from the user. The shell should prompt as

  Implement a simplified version of the set class

You will implement a simplified version of the set class. You must implement all functions defined in the provided file set.h. You may add other member functions and variables as necessary.

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