Find Jobs
Hire Freelancers

Using Blowfish (crypt algorithm) in C and Perl

$30-100 USD

Inställt
Publicerad över 17 år sedan

$30-100 USD

Betalning vid leverans
Hi, I am looking for a coder being able to use Blowfish in C (no assembler!) and Perl. This should be trivial for someone who knows what to do! Write a C function 'blowfish_encrypt' (see the attached example for the required parameters) which encrypts a string of arbitrary length with a passphrase of arbitrary length (max. 56 chars) using the blowfish algorithm while being re-entrant/thread safe. Use a public blowfish implementation for this! ([login to view URL] is preferred, but [login to view URL], [login to view URL] or other public available code is also accepted.) Open/Free software like GNU is explicit desired! After the encryption of the string the result string is converted into hex representation and printed to stdout. (Hey as you see: This is already done!) The program has to compile/run on any major Linux/Unix-System (in 32-bit and 64-bit mode!) on little-endian and big-endian hardware. (See my example C code attached!) The hexified crypted string is then used in a Perl-script, which uses 'Crypt::CBC' and its 'Blowfish'-modul to translate that string back to the original text! The perl-script has to be something like: use Crypt::CBC; my $ciphertextHexed = "The string returned by the C program on stdout"; my $cipher = Crypt::CBC->new( -key => 'myArbitraryPassphraseWithMaxStringLenOf56', #The same as in the C program! #do I have to specify -keylen ? Everytime? Sometimes? Never? When? -cipher => 'Blowfish' ); print $cipher->decrypt(pack ("H*", $ciphertextHexed)); print "n";
Project ID: 107814

Om projektet

3 anbud
Distansprojekt
Senaste aktivitet 15 år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
3 frilansar lägger i genomsnitt anbud på $77 USD för detta uppdrag
Använd avatar
please check pmb.
$100 USD Om 1 dag
5,0 (16 omdömen)
6,6
6,6
Använd avatar
Please see PM.
$100 USD Om 1 dag
5,0 (21 omdömen)
5,2
5,2
Använd avatar
Hi, We would like to introduce ourselves as a company of professionals who are driven by the philosophy of customer satisfaction through QUALITY and INNOVATION. We specialize in web-related technologies and software development, 2D and 3D modeling and animation. Why 6STechnosoft? " Use of our tried and tested techniques to deliver what you want as per your expectations. " Really quick turnaround time " We are available on AIM, YAHOO messenger , MSN messenger , Phone, Email ... Looking forward for favorable reply. Thank you & Regards, 6STechnosoft Team
$30 USD Om 1 dag
0,0 (0 omdömen)
0,0
0,0

Om kunden

Flagga för GERMANY
Bonn, Germany
5,0
17
Verifierad betalningsmetod
Medlem sedan nov. 11, 2006

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.