How to decrypt IRC Bot's blowfish encrypted messages.
Posted
by Arsheep
on Stack Overflow
See other posts from Stack Overflow
or by Arsheep
Published on 2010-06-02T20:38:38Z
Indexed on
2010/06/02
23:04 UTC
Read the original article
Hit count: 317
I am making an IRC bot in php to read content of a channel. Bot is done fine.But the messages are encrypted With blowfish encryption. i have the key and all, i tried PHP's code below but didn;t worked.
echo mcrypt_decrypt(MCRYPT_BLOWFISH,$key,$input,MCRYPT_MODE_ECB);
For more help the encryption is done via drftpd site bot.
I can find this link http://trac.drftpd.org/browser/branches/jpf/src/plugins/org.drftpd.plugins.sitebot/src/org/drftpd/plugins/sitebot/OutputWriter.java?rev=1721
Written in Java so may be some Java guy can help too .
© Stack Overflow or respective owner