Find Jobs
Hire Freelancers

Coder/Decoder

max $5 USD

Đã đóng
Đã đăng vào khoảng 21 năm trước

max $5 USD

Thanh toán khi bàn giao
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.
Mã dự án: 2925205

Về dự án

12 đề xuất
Dự án từ xa
Hoạt động 21 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
12 freelancer chào giá trung bình $4 USD cho công việc này
Avatar người dùng
See private message.
$4,25 USD trong 14 ngày
5,0 (53 nhận xét)
5,1
5,1
Avatar người dùng
See private message.
$4,25 USD trong 14 ngày
5,0 (15 nhận xét)
4,0
4,0
Avatar người dùng
See private message.
$4,25 USD trong 14 ngày
4,9 (19 nhận xét)
3,5
3,5
Avatar người dùng
See private message.
$3,40 USD trong 14 ngày
4,7 (5 nhận xét)
2,9
2,9
Avatar người dùng
See private message.
$3,40 USD trong 14 ngày
4,9 (10 nhận xét)
2,5
2,5
Avatar người dùng
See private message.
$4,25 USD trong 14 ngày
4,8 (6 nhận xét)
2,0
2,0
Avatar người dùng
See private message.
$4,25 USD trong 14 ngày
4,9 (5 nhận xét)
1,9
1,9
Avatar người dùng
See private message.
$4,25 USD trong 14 ngày
5,0 (1 nhận xét)
1,7
1,7
Avatar người dùng
See private message.
$4,25 USD trong 14 ngày
3,5 (1 nhận xét)
1,9
1,9
Avatar người dùng
See private message.
$4,25 USD trong 14 ngày
5,0 (4 nhận xét)
0,6
0,6
Avatar người dùng
See private message.
$4,25 USD trong 14 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
See private message.
$3,40 USD trong 14 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của SOUTH AFRICA
South Africa
0,0
0
Thành viên từ thg 4 14, 2003

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.