Using 128bit key Blowfish and any export issues
843811Oct 7 2005 — edited Oct 10 2005Hi,
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);