Find Jobs
Hire Freelancers

Caesar Cipher

$30-250 USD

Completed
Posted over 11 years ago

$30-250 USD

Paid on delivery
Provide a complete program that performs a simple substitution cipher. The program should take plain text and a shift value and produce the encrypted text. Then it should take encrypted text and a shift value and produce the plain text once again. A different encrypted text and shift can be entered so make sure to get input. Example: EASTER shifted by 3 to left would become HDVWHU HDVWHU shifted by 3 to right would become EASTER This is how the early Caesar Cipher worked. Provide a main method named RobertWiddossProg3.java. It should: Get input for a string and a shift value Convert to upper case Only perform the following items on alphabetic characters between A and Z Utilize a for loop which uses postfix incrementing operator Convert character to its ASCII equivalent (type cast) Shift buy shift value entered above If you reach end of alphabet, wrap around Example: A shifted to the left 2 would become Y Convert back to its character equivalent (type cast) Output the new character Get input for a string and a shift value Perform same steps above to convert the encrypted text back to plain text Be sure to get input again as a different encrypted text may be entered Utilize postfix increment/decrement operations and compound assignment operators for all math. Example: x++ or x+=2. Mimic the sample session precisely. SAMPLE SESSION Sample Session: Please enter text to encrypt easter Please enter shift value 3 BXPQBO Please enter text to decrypt bxpqbo Please enter shift value -3 EASTER Press any key to continue . . . Sample Session 2: : (Notice spaces removed from input) Please enter text to encrypt This Is A Test Please enter shift value 3 QEFPFPXQBPQ Please enter text to decrypt qefpfpxqbpq Please enter shift value -3 THISISATEST Press any key to continue . . . Sample Session 3: (Notice the different shift and decrypt value) Please enter text to encrypt hello Please enter shift value 3 EBIIL Please enter text to decrypt ebiil Please enter shift value 5 ZWDDG Press any key to continue . . .
Project ID: 2624213

About the project

23 proposals
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, I'd like to do this project.
$30 USD in 0 day
4.9 (1061 reviews)
7.6
7.6
23 freelancers are bidding on average $36 USD for this job
User Avatar
Please check INBOX
$30 USD in 0 day
4.8 (442 reviews)
7.4
7.4
User Avatar
Please check your inbox. Thanks
$35 USD in 1 day
4.9 (150 reviews)
7.1
7.1
User Avatar
I can do this in 2 hours.
$30 USD in 0 day
4.7 (400 reviews)
7.4
7.4
User Avatar
Ready to finish this asap
$30 USD in 1 day
5.0 (77 reviews)
5.8
5.8
User Avatar
hi i can do this contact if interested
$30 USD in 0 day
4.9 (28 reviews)
5.4
5.4
User Avatar
Ready to deliver you code. Thanks.
$30 USD in 0 day
4.9 (78 reviews)
4.6
4.6
User Avatar
Hello! I can help you. Please check your PMB. Thank you.
$150 USD in 1 day
5.0 (2 reviews)
4.2
4.2
User Avatar
Let expert help you.
$30 USD in 0 day
4.9 (18 reviews)
3.7
3.7
User Avatar
Sounds straight forward. We can complete this for you. Thanks.
$30 USD in 2 days
5.0 (4 reviews)
2.5
2.5
User Avatar
Hi, I'm a competenrt java developer and can complete a program to apply the cipher. Thanks, Jim
$30 USD in 0 day
5.0 (1 review)
2.0
2.0
User Avatar
I am interested in this job.
$30 USD in 1 day
5.0 (1 review)
1.4
1.4
User Avatar
I am ready to start right away. Please check PM.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
This would be easy for me to write. It's simple, so I'm asking for minimum price.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
i Understand the Project. You Need to encrypt and decrypt the word as you said. You are trying to produce some new way of encrypting. I can done this
$30 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I would like to the responsibility of this job. I have the relevant experience in this area. Currently I work as a Java Programmer for HSBC Bank Sri Lanka. Hoping to have a favorable response from you. Thanks and Best Regards, Yehan
$30 USD in 2 days
5.0 (2 reviews)
0.0
0.0
User Avatar
I have done this before so it will be done quickly
$30 USD in 0 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Please check ur PMB
$30 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Kindly check your inbox and accept my offer by picking my bid. Thanks, Pankaj Sahu
$30 USD in 0 day
0.0 (0 reviews)
0.0
0.0
User Avatar
The program will work correctly
$30 USD in 0 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Experienced programmer, Java is my first native language. I can have this done for you very quickly, and meet your specifications exactly.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
San Antonio, United States
5.0
9
Payment method verified
Member since Oct 4, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.