AES 128 encryption and decryption in java

Closed Posted Oct 17, 2014 Paid on delivery
Closed Paid on delivery

write a program that uses AES-128 to decrypt a message. The program should be named "decrypt" and should accept 3-command line arguments as follows:

decrypt cipher_file key_file target_file

where 'cipher_file' is the name of a file that contains the encrypted text as a stream of bytes. 'key_file' is the 128-bit key for decryption stored as a stream of bytes, and 'target_file' is the name of the file where the outcome of the decryption should be stored.

To test this program, here's an example of an encrypted message (link) and its 128-bit secret key (link) (right click and choose "Save As" to save the files on your PC).

PART 2(a): you will try to use "brute force" to decrypt an encrypted message, where you only have the first 96-bits of the 128-bit secret key (last 4 bytes of the secret key are missing!) The program should be called findk, and invoked as follows:

findk cipher_file key_file

where 'cipher_file' is the file containing the encrypted message and 'key_file' is the file containing the first 96-bits of the key. The program should print out on standard output the missing 4 bytes of the key in hexadecimal, the decrypted message and the time it took to find the correct key.

To test this part, here is the encrypted file (link), and the first 96-bits of the key (link) (right click and choose "Save As" to save the file on your PC). Hint: the original message starts with the word "Salam"..

PART 2(b) this part is the same as Part 2(a) but a more challenging key. Hint: the original message starts with the word "Hello".. Here is the encrypted file (link) and the first 96-bits of the key (link).

PART 2(c) (optional for extra credit if broken) this part is similar to Part 2(a) but only the first 64-bits are available. Hint: The message starts with "Salam Nawaf". If you are not able to decrypt the data in time, it is enough to mention the time you ran the program for. Here is the encrypted file (link) and the first 64-bits of the key (link).

Java Software Architecture

Project ID: #6604321

About the project

13 proposals Remote project Active Nov 23, 2014

13 freelancers are bidding on average $166 for this job

dobreiiita

Hello I am Java expert and interested in this project. Can you share actual document containing details of the project, since there are some parts in description which isn't clear. Please communicate to discuss f More

$263 USD in 3 days
(292 Reviews)
7.1
srinichal

I am an expert in delivering custom scripts and willing to discuss further about the project specifications.

$189 USD in 3 days
(68 Reviews)
6.8
lovinagarwal21

I have 9+ years of exp in c c++ java j2ee hibernate spring webservices databases. Done multiple projects like this and almost proficient in design patterns..Checkout my completion rate and reviews.

$211 USD in 3 days
(43 Reviews)
5.5
islamianwar

I'm a 5-year java software developer. I worked with encryption/decryption/hashing in java before. Kindly PM me for further discussion.

$225 USD in 10 days
(7 Reviews)
4.5
AviTenzer

Hi, I am an experience java developer and I am looking forward to work with you on your project. I have previously worked with Java security API. Please feel free to pm me to discuss your project. Regards, Avi

$205 USD in 5 days
(2 Reviews)
1.7
suresh07588

A proposal has not yet been provided

$150 USD in 7 days
(1 Review)
0.5
coreblaze

Hello Sir, We have gone through the details you have provided and we have already worked on a similar project before and can deliver as u have mentioned and would be pleased to work on this with you to deliver the resu More

$222 USD in 7 days
(2 Reviews)
0.0
qiangjinyujin

Hello! Dear client manager I have a rich experience at AES algorithm and its implementation. I read your description carefully. If the ciphertext is one that is encrypted by ecb mode, I can do this easily. More

$111 USD in 3 days
(0 Reviews)
0.0
fofoonline

I am a professional of security in java so I can easily do what you need.. contact me to send you a demo of job then if you accepted,I ll send you all program..

$60 USD in 3 days
(0 Reviews)
0.0
melonaerial

I'm definitely a person what u looking for. I'e studied cryptography at Moscow Institute of Physics and Technology and i've accepted sertificate from Cryptography course on coursera by Stanford.

$144 USD in 2 days
(0 Reviews)
0.0
alexcarabineanu

A proposal has not yet been provided

$111 USD in 3 days
(0 Reviews)
0.0
fatima13arj

Hi! I am an Information Security researcher and have worked as a Senior Java Developer in the past. I can do this task easily for you. Looking forward for your response.

$155 USD in 3 days
(0 Reviews)
0.0
umapathi571

Hi I am umapathi i have experience of 3+ years in java web application development. I have hands on experience in security, using AES and sha encryption Even in worked in ssl configuration using ketool Thanks i More

$155 USD in 3 days
(0 Reviews)
0.0
pavolharmata

Hi, not sure If I am the best option for you, but please consider it carefully. I have started to work as the common Java Developer (for about 3years), then I continued with J2EE for 4 another years and then I was prom More

$177 USD in 7 days
(0 Reviews)
0.0