Re: Problem with blowfish

2008-01-09 Thread ponnusamy p
sir, i have compiled this program in VC++. #include #include #include int main(void) { char plaintext[12] = "Hello World?"; char ciphertext[12]; char mykey[16] = "this's my secret"; RC4_KEY rc4_key; RC4_set_key(&rc4_key, 16, mykey); /* the key is 128 bits or 16 bytes l

Problem with blowfish

2008-01-09 Thread danielkun
I'm new to OpenSSL and I've been trying to get the following to work for 2 days now. I'd like decrypt the input file using blowfish and 64 bit blocks. This code below works fine when decoding text files of any size but with images the decoded file is larger than the orginal. I also keep getting a

Re: Problem with Blowfish decryption

2006-08-03 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Thu, 03 Aug 2006 09:03:42 +0200, Andreas von Linden <[EMAIL PROTECTED]> said: Buglist> i have a problem with the Blowfish algorithm. When i encrypt a long Buglist> message i get the following error when i try to decrypt the message: Buglist> Buglist> 4156:error:

Problem with Blowfish decryption

2006-08-03 Thread Andreas von Linden
Hello, i have a problem with the Blowfish algorithm. When i encrypt a long message i get the following error when i try to decrypt the message: 4156:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:.\crypto\evp\evp_enc.c:454: The message length is form 10 to 450 (or more