Tamamlanmış

Encrypt & Decrypt

program written in C and contains the following: 1. Read in a message and an encryption key from the keyboard; 2. Show the given message; 3. Encrypt the given message using the encryption key and show the encoded message on the screen; 4. Decrypt the encoded message using the same encryption key back to the original and show the decrypted message. This program takes two things from the keyboard. This is a message and an encryption key. - The message can only contain printable characters. The maximum number of lines accepted is 6 and the maximum number of characters each line can contain is 128. If the number of lines entered is less than the constant 6, an empty line (only consisting of a single carriage return) is used to terminate the message. Otherwise, only 6 lines of the message will be taken. - The encryption key is a numerical value in the range 1 to 72. If an invalid encryption key is entered the program will keep asking the use to re-enter a valid key until the user does so. The Encryption Algorithm Any character (called target character) in the message will be replaced by another character (called new character) that is generated from the target character by shifting it encryption key number of places along the ASCII code set, using the following formula new = (target - 32 + key) % 95 + 32 The Decryption Algorithm: Any character (called target character) in the encoded message will be replaced by another character (called new character) that is generated from the target character by shifting it back encryption key number of places along the ASCII code set, using the following formula: new = (target + 63 - key) % 95 + 32 also to note: ASCII characters range from 32 - 127

## Deliverables

1) well coded and styled and commented single source file in C 3) no need for an executable

## Platform

2) platform Linux/Unix

Beceriler: C Programlama, Mühendislik, MySQL, PHP, Yazılım Mimarisi, Yazılım Test Etme

Daha fazlasını gör: single key encryption, programming keyboard, numerical programming, message encryption algorithm, line algorithm, algorithm of encryption, algorithm for encryption, encrypt php code, encrypt, decryption, decrypted, algorithm for maximum, decrypt source, linux encrypt decrypt, linux encrypt decrypt file, encrypt linux, linux encrypt, php decryption, php encrypt file, programming encryption

İşveren Hakkında:
( 3 değerlendirme ) Australia

Proje NO: #2925877

Seçilen:

striker69

See private message.

%selectedBids___i_period_sub_7% gün içinde 2%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(4 Değerlendirme)
0.3

Bu iş için 2 freelancer ortalamada $10 teklif veriyor

shuvovse

See private message.

$17 USD in 14 gün içinde
(11 Değerlendirme)
3.8