Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1). Write a function in java, c, php or python that takes 2 inputs: - A plain text that only contains letter characters from the

1). Write a function in java, c, php or python that takes 2 inputs:

- A plain text that only contains letter characters from the English language. Can be a size of string from 0 to 10. (You are not responsible for validating that the string that it only includes letters and within the bounds of 0 to 10)

- A key that is a number from 1 to 26 (a mod operation should be used in the key: if 27 is given, the key is 1). (Not responsible for validation that it is a number)

Gives 1 output:

- Cipher text that is created by shifting the plain text to right in English Alphabet according to key.

2) Write a function in java, c, php or python that takes 2 inputs:

- A cipher text produced from section a. (Again, no validation needed)

- Same key from section a.

Gives 1 output:

Plain text that is created by shifting the cipher text to left in English Alphabet according to key

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

Pro SQL Server Wait Statistics

Authors: Enrico Van De Laar

1st Edition

1484211391, 9781484211397

More Books

Students also viewed these Databases questions

Question

How do members envision the ideal team?

Answered: 1 week ago

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago