Find Jobs
Hire Freelancers

Blowfish usage in C and Perl

$25-30 USD

Abgesagt
Veröffentlicht vor mehr als 17 Jahren

$25-30 USD

Bezahlt bei Lieferung
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!). 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"; The program is accepted, when it is able to encrypt in C and decrypt in Perl some text string (with text passwords) I have. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) I am allowed to do with that code what I want and so are you! ## Platform Linux, Solaris (in 32-bit and 64-bit mode)
Projekt-ID: 3909172

Über das Projekt

Remote Projekt
Aktiv vor 17 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten

Über den Kunden

Flagge von GERMANY
Germany
5,0
17
Mitglied seit Okt. 24, 2006

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.