I have some issues regarding BlowFish encryption. I'm developing a portlet in Java deployed under weblogic. I receive from an internet usb device a string encrypted with BlowFish - nCFB mode and i need to obtain the original string from it. I implemented blowfish decryption, but i don't know how can i decrypt using the nCFB mode. It's very few documentation on the internet but i was able to find a tool that does it at: http://www.tools4noobs.com/online_tools/decrypt/
Giving my input string and password, it retrieves the result. But on java i can't do
Cipher cipher = Cipher.getInstance("Blowfish/NCFB/NoPadding");
Because the NCFB is not recognized. I did my implementation with
Cipher cipher = Cipher.getInstance("Blowfish/CFB/NoPadding");
But it only decodes the first 3 characters. How can i decrypt using the NCFB mode instead of CFB ?
I was able to found a little something about nCFB at http://mcrypt.hellug.gr/lib/mcrypt.3.html , but it belongs to mcrypt php library.
Is there a java API able to do this ? Or how can i get the CFB mode to work as NCFB ?
Best regards