Are you by any chance on Java7? If so, you need to install the additional key libraries. I've outlined this here at http://thenitai.com/2013/01/25/aes-256-bit-keys-and-coldfusion/
Kind Regards, Nitai On Tue, May 28, 2013 at 11:46 AM, Skellington <[email protected]> wrote: > Hello, > This was working fine but I'm now getting a "Illegal key size" error when > I try to set my key to 256. If I back it down to 128 it works just fine. > > Any ideas as to why this is no longer working? > > Thanks, > Charlie > > <cfset usrKey=#Generatesecretkey("AES","256")#> > > <cfoutput>#encrypt("HelloWorld",usrKey,'AES/CBC/PKCS5Padding','base64')#</cfoutput> > > -- > -- > online documentation: http://openbd.org/manual/ > http://groups.google.com/group/openbd?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Open BlueDragon" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- See for yourself how easy it is to manage files today. Join the revolution! Razuna - Hosted Digital Asset Management Solution http://www.razuna.com/ Razuna - Open Source Digital Asset Management http://www.razuna.org/ Twitter - http://twitter.com/razunahq Facebook - http://www.facebook.com/razunahq Support Platform - http://getsatisfaction.com/razuna -- -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en --- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
