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

  Write a program to calculate existing angles

Write a program to calculate existing angles and do if and then from this, and to place fixed angles at certain position.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Create program that uses functions and reference parameters

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

  Create a template class

Create a template class, SVector, that implements a constructor

  Implement the delivery company

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

  Computer programming techniques

Construct a program from a design and use appropriate functions

  Computer programming using c language lab

Computer programming using c language lab

  Write a menu-driven program that maintains an address book

Write a menu-driven program that maintains an address book using a linked list. The address book must supports the following operations

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

  Base process which communicate with child processes

Write a program which has a "base process" which communicates with child processes acting as "bombers" that it creates.

  Develop a simple poker game

Develop a simple poker game

  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

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