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!

Using 128bit key Blowfish and any export issues

843811Oct 7 2005 — edited Oct 10 2005
Hi,

I want to use blowfish (symmetric key algorithm) in my product and which will be shipped outside US. Reading Sun's documentation I am bit confused and I am not sure if the jce package is going to be available outside the US.

Has anyone used the default available symmetric key algorithms in the JCE package (javax.crypto.*) and faced any export control issues ?

Please let me know.

Thanks
RT

Here is a sample code

String ks = "123456789123456";
kb = ks.getBytes();
SecretKeySpec key = new SecretKeySpec(kb,"blowfish");
Cipher cipher = Cipher.getInstance("blowfish");

// Initialisation of cipher object for Encryption.
cipher.init(Cipher.ENCRYPT_MODE, key);
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 7 2005
Added on Oct 7 2005
1 comment
187 views