Find Jobs
Hire Freelancers

Caesar Cipher

$30-250 USD

Ολοκληρώθηκε
Αναρτήθηκε πάνω από 11 χρόνια πριν

$30-250 USD

Πληρωμή κατά την παράδοση
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 . . .
Ταυτότητα εργασίας: 2624213

Σχετικά με την εργασία

23 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 11 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
Avatar Χρήστη
Hi, I'd like to do this project.
$30 USD σε 0 ημέρα
4,9 (1061 αξιολογήσεις)
7,6
7,6
23 freelancers δίνουν μια μέση προσφορά $36 USD για αυτή τη δουλειά
Avatar Χρήστη
Please check INBOX
$30 USD σε 0 ημέρα
4,8 (442 αξιολογήσεις)
7,4
7,4
Avatar Χρήστη
Please check your inbox. Thanks
$35 USD σε 1 ημέρα
4,9 (150 αξιολογήσεις)
7,1
7,1
Avatar Χρήστη
I can do this in 2 hours.
$30 USD σε 0 ημέρα
4,7 (400 αξιολογήσεις)
7,4
7,4
Avatar Χρήστη
Ready to finish this asap
$30 USD σε 1 ημέρα
5,0 (77 αξιολογήσεις)
5,8
5,8
Avatar Χρήστη
hi i can do this contact if interested
$30 USD σε 0 ημέρα
4,9 (28 αξιολογήσεις)
5,4
5,4
Avatar Χρήστη
Ready to deliver you code. Thanks.
$30 USD σε 0 ημέρα
4,9 (78 αξιολογήσεις)
4,6
4,6
Avatar Χρήστη
Hello! I can help you. Please check your PMB. Thank you.
$150 USD σε 1 ημέρα
5,0 (2 αξιολογήσεις)
4,2
4,2
Avatar Χρήστη
Let expert help you.
$30 USD σε 0 ημέρα
4,9 (18 αξιολογήσεις)
3,7
3,7
Avatar Χρήστη
Sounds straight forward. We can complete this for you. Thanks.
$30 USD σε 2 ημέρες
5,0 (4 αξιολογήσεις)
2,5
2,5
Avatar Χρήστη
Hi, I'm a competenrt java developer and can complete a program to apply the cipher. Thanks, Jim
$30 USD σε 0 ημέρα
5,0 (1 αξιολόγηση)
2,0
2,0
Avatar Χρήστη
I am interested in this job.
$30 USD σε 1 ημέρα
5,0 (1 αξιολόγηση)
1,4
1,4
Avatar Χρήστη
I am ready to start right away. Please check PM.
$30 USD σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
This would be easy for me to write. It's simple, so I'm asking for minimum price.
$30 USD σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0
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 σε 2 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0
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 σε 2 ημέρες
5,0 (2 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
I have done this before so it will be done quickly
$30 USD σε 0 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
Please check ur PMB
$30 USD σε 2 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
Kindly check your inbox and accept my offer by picking my bid. Thanks, Pankaj Sahu
$30 USD σε 0 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
The program will work correctly
$30 USD σε 0 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0
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 σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0

Σχετικά με τον πελάτη

Σημαία της UNITED STATES
San Antonio, United States
5,0
9
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Οκτ 4, 2012

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.