Find Jobs
Hire Freelancers

AES 128 encryption and decryption in java

$30-250 USD

Em Andamento
Publicado há mais de 9 anos

$30-250 USD

Pago na entrega
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).
ID do Projeto: 6606280

Sobre o projeto

1 proposta
Projeto remoto
Ativo há 9 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
A proposal has not yet been provided
$140 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) SAUDI ARABIA
Saudi Arabia
0,0
0
Membro desde out. 17, 2014

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.