Find Jobs
Hire Freelancers

Coder/Decoder

max $5 USD

Closed
Posted about 21 years ago

max $5 USD

Paid on delivery
2 - String manipulation and Encryption (Save this file as Question3.c) For this question, you will use string manipulation to encrypt a string with the Caesar's Encryption Algorithm. The Caesar's algorithm works as follows: When the program starts, it initializes an array so that the elements of the array (characters of the alphabet) are shifted up by a random amount, e.g. Original Alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZ Shifted Alphabet: GHIJKLMNOPQRSTUVWXYZABCDEF Once the alphabet is set up, any string can be encoded (and thereafter decoded again). The encoding process works as follows: The string to be encoded is first split up into individual tokens (usually the tokens are just the words in the sentence), which are then converted to uppercase to make the processing easier. You then loop through every character in each token encoding it according to the shifted alphabet. To encode a character using the shifted alphabet you take the original letters position in the original alphabet and the letter from the shifted alphabet that occurs in the same location. For example: To encode the word "Max" (using the shifted alphabet above), you first convert it to uppercase, the word thus becomes "MAX". You then split it up into tokens, but since there is only one word, you will only get one token. So, you then take the position of the "M" in the original alphabet, which is 13, and use the letter at the same location but in the shifted alphabet. You get "S". So you replace the "M" with "S". You do the same for the "A" and you get "G", and for "X" you get "D". The encoded version of "MAX" is then "SGD". This process is repeated for each token, and when the whole sentence is encoded, we output it back to the screen. Another example: To encode the sentence "The wheels are turning", you first convert it to uppercase, "THE WHEELS ARE TURNING". You then split it up into tokens. The first token is "THE". You then convert the first letter of the token, whic ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. ## Platform win nt we must run the program in c.
Project ID: 2925205

About the project

12 proposals
Remote project
Active 21 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
12 freelancers are bidding on average $4 USD for this job
User Avatar
See private message.
$4.25 USD in 14 days
5.0 (53 reviews)
5.1
5.1
User Avatar
See private message.
$4.25 USD in 14 days
5.0 (15 reviews)
4.0
4.0
User Avatar
See private message.
$4.25 USD in 14 days
4.9 (19 reviews)
3.5
3.5
User Avatar
See private message.
$3.40 USD in 14 days
4.7 (5 reviews)
2.9
2.9
User Avatar
See private message.
$3.40 USD in 14 days
4.9 (10 reviews)
2.5
2.5
User Avatar
See private message.
$4.25 USD in 14 days
4.8 (6 reviews)
2.0
2.0
User Avatar
See private message.
$4.25 USD in 14 days
4.9 (5 reviews)
1.9
1.9
User Avatar
See private message.
$4.25 USD in 14 days
5.0 (1 review)
1.7
1.7
User Avatar
See private message.
$4.25 USD in 14 days
3.5 (1 review)
1.9
1.9
User Avatar
See private message.
$4.25 USD in 14 days
5.0 (4 reviews)
0.6
0.6
User Avatar
See private message.
$4.25 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$3.40 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of SOUTH AFRICA
South Africa
0.0
0
Member since Apr 14, 2003

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.