hmm I thought I did. I'll double the check.
Thanks. -- George H [email protected] On Tue, Jan 5, 2010 at 3:54 PM, Sai Pullabhotla < [email protected]> wrote: > This normally means that you do not have unlimited strength > jurisdiction policy files installed in the JRE you are using. There > are a couple of JAR files that you can download from Sun/JRE vendor > that you need to place in jre/lib/security folder. Without these > policy files you cannot use strong encryption like a 256-bit keys. > > Hope this helps. > > Regards, > Sai Pullabhotla > > > > > > On Tue, Jan 5, 2010 at 8:54 AM, George H <[email protected]> wrote: > > Hi, > > > > I have a program that uses Derby 10.5.3.0 to create an embedded DB with > an > > encryption key. > > I am using Blowfish/CBC/NoPadding with a key size of 256. I have a > windows > > XP and a Linux machine. Both have Sun JDK v1.6 u17 and I installed the > JCE > > jar files from the sun site. > > > > The problem is that the DB is being created on my linux machine with no > > problems but, on windows it keeps giving me an error of Illegal Key Size. > If > > I switch the encryption to DES with 56bit key then it works fine. > > > > I created a sample program in java to test the Blowfish and it works. It > > just seems to be derby that complains of the illegal key size. Is there > > something I am missing here? > > > > Attached to the email is the log file of derby with the stack trace, > should > > it be of help to anyone. > > -- > > George H > > [email protected] > > >
