Find Jobs
Hire Freelancers

Coder/Decoder

max $5 USD

クローズ
投稿日: 約21年前

max $5 USD

完了時にお支払い
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.
プロジェクト ID: 2925205

プロジェクトについて

12個の提案
リモートプロジェクト
アクティブ 21年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に12人のフリーランサーが、平均$4 USDで入札しています
ユーザーアバター
See private message.
$4.25 USD 14日以内
5.0 (53 レビュー)
5.1
5.1
ユーザーアバター
See private message.
$4.25 USD 14日以内
5.0 (15 レビュー)
4.0
4.0
ユーザーアバター
See private message.
$4.25 USD 14日以内
4.9 (19 レビュー)
3.5
3.5
ユーザーアバター
See private message.
$3.40 USD 14日以内
4.7 (5 レビュー)
2.9
2.9
ユーザーアバター
See private message.
$3.40 USD 14日以内
4.9 (10 レビュー)
2.5
2.5
ユーザーアバター
See private message.
$4.25 USD 14日以内
4.8 (6 レビュー)
2.0
2.0
ユーザーアバター
See private message.
$4.25 USD 14日以内
4.9 (5 レビュー)
1.9
1.9
ユーザーアバター
See private message.
$4.25 USD 14日以内
5.0 (1 レビュー)
1.7
1.7
ユーザーアバター
See private message.
$4.25 USD 14日以内
3.5 (1 レビュー)
1.9
1.9
ユーザーアバター
See private message.
$4.25 USD 14日以内
5.0 (4 レビュー)
0.6
0.6
ユーザーアバター
See private message.
$4.25 USD 14日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
See private message.
$3.40 USD 14日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

SOUTH AFRICAのフラグ
South Africa
0.0
0
メンバー登録日:4月 14, 2003

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。