Em Andamento

Translate Perl's Crypt::CBC to C

Short description: I have a Perl function which uses Crypt::CBC and Crypt::IDEA to decrypt a string. This function needs to be implemented in C and, for the same input, return the same output as the Perl function. The string is about 100 chars long. Longer description: the function is basically this: ------------- use Crypt::CBC; use Crypt::IDEA; my $SECRET = 'xxx'; sub decryptId($) { my $enc_id = shift; my $CIPHER = Crypt::CBC->new($SECRET, 'IDEA'); return $CIPHER->decrypt_hex($enc_id); } --------- The difficulty lies in that Crypt::CBC uses some algorithms to split the input in blocks and then passes the data to idea. I looked at the code and debugged what's going on but I don't have the time to do it. You can use _idea.c provided in Crypt::IDEA and then you should translate what Crypt::CBC does in decrypt_hex into C. --------------------

## Deliverables

1) Complete and fully-functional working program(s) in complete source code of all work done.

2) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

3) The function must pass a test case. I.e., I'll give you the secret, a list of input strings and the list of output strings it should return.

## Platform

Linux

Habilidades: Programação C, Engenharia, MySQL, Perl, PHP, Arquitetura de software, Teste de Software

Ver mais: work translate, uses algorithms, translate t, test algorithms, string algorithms, algorithms test, algorithms strings, algorithms explained, about algorithms, translate s, translate e, cipher, decrypt source, crypt perl code, translate work, cipher php, perl split, cipher program, cipher output program, translate description, code translate, perl output, program code translate, perl decrypt, translate perl php

Acerca do Empregador:
( 1 comentário ) Argentina

ID do Projeto: #3007262

Premiar a:

stefanmeyer

See private message.

$170 USD em 14 dias
(29 Avaliações)
5.6

9 freelancers estão ofertando em média $174 para este trabalho

dmiceman

See private message.

$212.5 USD in 14 dias
(61 Comentários)
5.8
amigolx

See private message.

$170 USD in 14 dias
(106 Comentários)
5.5
datovw

See private message.

$212.5 USD in 14 dias
(18 Comentários)
5.0
preyasvw

See private message.

$170 USD in 14 dias
(34 Comentários)
4.4
shashikhanvw

See private message.

$153 USD in 14 dias
(15 Comentários)
3.8
simtechs

See private message.

$212.5 USD in 14 dias
(11 Comentários)
2.9
kidronvw

See private message.

$85 USD in 14 dias
(5 Comentários)
2.8
flynvw

See private message.

$178.5 USD in 14 dias
(0 Comentários)
0.0