Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help making a void function with two characters in C++ that would allow me to run an encryption. The requirements are to user for

Need help making a void function with two characters in C++ that would allow me to run an encryption.

The requirements are to user for an input string, call your encription algorithm, and then print out the encrypted result to the user. A C string will be scrambled by alternating characters from the end and then the beginning of an array.

Example: Hello 351

Result: H3e5l1l ol

Is anyone able to help me get started on creating this function? One requirement is to only use the library , and the void function is: void encrypt(const char beginning[], char encrypted[])

image text in transcribed

here's another example

Index 0 1 2 3 4 5 Data H ELLO 10 Data | o |HL|EL| 10 | Index 0 1 2 3 4 5 Index 0 1 2 3 4 5 Data H ELLO 10 Data | o |HL|EL| 10 | Index 0 1 2 3 4 5

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

More Books

Students also viewed these Databases questions

Question

B. How do you think this message will impact work outcomes?

Answered: 1 week ago

Question

7. Identify four antecedents that influence intercultural contact.

Answered: 1 week ago

Question

5. Describe the relationship between history and identity.

Answered: 1 week ago