Find Jobs
Hire Freelancers

Blowfish usage in C and Perl

$25-30 USD

已取消
已发布超过 17 年前

$25-30 USD

货到付款
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)
项目 ID: 3909172

关于此项目

远程项目
活跃18 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作

关于客户

GERMANY的国旗
Germany
5.0
17
会员自10月 24, 2006起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。