Develop a crytographic scheme that will encode a message in


Assignment:

Here you will begin to develop a crytographic scheme that will encode a message. In order to do that, you will convert a single character into its ascii code, add a certain integer value to it, and convert back into a character.

The mapping will be to add CRYPT_KEY. For example, if CRYPT_KEY =2, the mapping would take a---->c, and also take z---->B. Note that ascii values greater that z get "wrapped around" starting again at A.

Your program must:

-Define a constant CRYPT_KEY to any value integer value you want

-Use modulus operator (%) to maintain a mapping between ascii A and z.

-Use static_cast to convert between data type char and int.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Develop a crytographic scheme that will encode a message in
Reference No:- TGS01522134

Now Priced at $10 (50% Discount)

Recommended (92%)

Rated (4.4/5)