Find Jobs
Hire Freelancers

Blowfish usage in C and Perl

$25-30 USD

Cancelled
Posted over 17 years ago

$25-30 USD

Paid on delivery
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)
Project ID: 3909172

About the project

Remote project
Active 17 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of GERMANY
Germany
5.0
17
Member since Oct 24, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.