
In Progress
Posted
Paid on delivery
Create a program to encrypt and decrypt binary files using S-DES (Simplified DES) in the Cipher Block Chaining mode. The program takes the input of an initial key and an initial vector, reads the plaintext or ciphertext from a file, conducts the encryption or decryption, and writes the resulting ciphertext or plaintext into a second file. Your program must following the following input and output formats. Input Format: The program should take a command in the following format. (java) mycipher -m mode -k initial_key -i initial_vector -p plaintext_file -c ciphertext_file mode: can be only encrypt or decrypt initial_key: 10-bit initial key initial_vector: 8-bit initial vector plaintext_file: a binary (not text) file to store the plaintext ciphertext_file: a binary (not text) file to store the ciphertext Output Format: The program should print output in the following format. k1=subkey 1 k2=subkey 2 plaintext=all bytes of the plaintext separated by blanks, starting from the first byte ciphertext= all bytes of the ciphertext separated by blanks, starting from the first byte Sample Test Cases (attached in Canvas): mycipher -m encrypt -k 0111111101 -i 10101010 -p f1 -c f3 k1=01011111 k2=11111100 plaintext=00000001 00100011 ciphertext=11110100 00001011 mycipher -m decrypt -k 0101010101 -i 00000000 -p f4 -c f2 k1=00011011 k2=10101100 ciphertext=00000001 plaintext=01101000 Decrypting the attached file [login to view URL] with the command "mycipher -m decrypt -k 1010010001 -i 10101010 -p [login to view URL] -c [login to view URL]" will result in the following [login to view URL] file.
Project ID: 24319569
Remote project
Active 6 yrs ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

Miami, Saudi Arabia
Payment method verified
Member since Mar 9, 2020
$30-250 USD
₹1500-12500 INR
$2-8 AUD / hour
₹12500-37500 INR
₹37500-75000 INR
$250-750 USD
₹12500-37500 INR
₹12500-37500 INR
£20-250 GBP
₹1500-12500 INR
₹12500-37500 INR
$1500-3000 USD
$2-8 USD / hour
₹12500-37500 INR
₹37500-75000 INR
₹12500-37500 INR
$10-30 USD
$750-1500 AUD
₹600-1500 INR
$10-30 USD