skip to Main Content
The smarter way
to do assignments.

Please note that this is just a preview of a school assignment posted on our website by one of our clients. If you need assistance with this question too, please click on the Order button at the bottom of the page to get started.

Write a program that encrypts and decrypts the user input. Note – Your input should be only lowercase characters with no spaces. Your program should have a secret distance given by the user that will be used for encryption/decryption. Each character of the user’s input should be offset by the distance value given by the user For Encryption:  Take the string and reverse the string.  Encrypt the reverse string with each character replaced with distance value (x) given by the user. For Decryption:  Take the string and reverse the string.  Decrypt the reverse string with each character replaced with distance value (x) given by the user. 
Encryption process – udc -> xgf (encrypted) The program should ask the user for input to encrypt, and then display the resulting encrypted output. Next your program should ask the user for input to decrypt, and then display the resulting decrypted output. Enter phrase to Encrypt (lowercase, no spaces): cdu Enter distance value: 3 Result: xgf Enter phrase to Decrypt (lowercase, no spaces): xgf Enter distance value: 3 Result: cdu 

GET HELP WITH THIS ASSIGNMENT TODAY

Clicking on this button will take you to our custom assignment page. Here you can fill out all the additional details for this particular paper (grading rubric, academic style, number of sources etc), after which your paper will get assigned to a course-specific writer. If you have any issues/concerns, please don’t hesitate to contact our live support team or email us right away.

How It Works        |        About Us       |       Contact Us

© 2018 | Intelli Essays Homework Service®

Back To Top