Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question Three E ncryption: Write a program in Python or C++ that has TWO functi

ID: 657154 • Letter: Q

Question

Question Three

Encryption:

Write a program in Python or C++ that has TWO functions:

Function One is called: _encrypt

Function Two is called: _decrypt

Function one takes plain text, and assesses the indexed value of each letter in the string. For example, a=1, b=2. It then adds three to the indexed value, and produces encrypted text, based off of the plain text.

Function two reverses this.

Here is sample output:

_encrypt('how do you do')

Unsecured: howdoyoudo

Secured: lsahscsyhs

_decrypt('lsahscsyhs')

Unsecured: lsahscsyhs

Secured: howdoyoudo

Explanation / Answer

decryption

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote