Cipher: Decrypt and Encrypt, C/C++ Programming

Assignment Help:
You must write a program that can both decrypt and encrypt a single word that is entered by the

user. The initial choice of encryption and decryption is left up to the user. Additionally, the user will enter a value to be utilized when determining how to translate the character.

Decryption: Convert all characters in the word by utilizing the discovered map index

Having trouble with the decryption portion:

¦ Given a character in the word, determine its index in the map string

¦ Add the position to the first character in range of valid characters for a word

? This is the position of the character in the alphabet!

? What is the range of valid characters? Check the validation step. What is the first character in that range?

Related Discussions:- Cipher: Decrypt and Encrypt

Luminous Jewels, Jewels can only be removed for polishing from either end o...

Jewels can only be removed for polishing from either end of the necklace

Define an asset base class, a) Define an Asset base class that provides the...

a) Define an Asset base class that provides the following method: class Asset { public:      virtual double getValue()=0; };   This will be the base class for both stock an

Functions, please help me get all the inbuilt functions in c++

please help me get all the inbuilt functions in c++

Program is to perform all the functions of super bazaar, Program is to perf...

Program is to perform all the functions that are performed in a super bazaar: class stock   {   private:     int itno;     char itname[20];     char brname[20];

A string S convert it to a palindrome by doing chara, A palindrome is a str...

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Program to find shortest path between two nodes, Ques.Implement a c/c++ pro...

Ques.Implement a c/c++ program to find a shortest path between two nodes in a network?network should be taken as an adjacency matrix.

Write Your Message!

Captcha
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