Re: libcrypto blowfish help - ecb mode and custom base64

2006-10-02 Thread Richard Dingwall
throw fish_error(std::string("EVP_EncryptFinal_ex()")); out_len += tmp_len; // cleanup ::EVP_CIPHER_CTX_cleanup(&evp_ctx); return std::string((char *) out_buf, out_len); } Cheers, Richard On 10/2/06, Aki Tuomi <[EMAIL PRO

libcrypto blowfish help - ecb mode and custom base64

2006-10-01 Thread Richard Dingwall
Hi, I'm trying to decrypt messages that are encrypted with Eggdrop's blowfish encrypt() method. This method is also used by a irssi/mirc/xchat encryption module called FiSH. I have already written some code to do it using libcrypto's EVP, but it produces gibberish output. You can see it here: h