Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cross Platform encryption using Blowfish

843811Dec 12 2005 — edited Dec 13 2005
Dear All,
Can someone help me out on how to use the Blowfish encryption algorithm in Java. I am creating a SDK where I need to publish these methods (for encryption/decryption) along with other methods.
For Encryption:
public String encrypt(String normalText)
public byte[] encrypt(String normalText)
public byte[] encrypt(byte[] normalBytes)
For Decryption:
public String decrypt(String encryptedText)
public byte[] decrypt(String encryptedText)
public byte[] decrypt(byte[] encryptedBytes)
However, I need to support this encryption/decryption process in various locales (Chinese, Japanese, US), as well as various languages like Java, C, C++.
Can someone please suggest how to go about it.
Thanks a lot in advance,
Debopam.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 10 2006
Added on Dec 12 2005
5 comments
247 views