I solved this btw, was way tired when I wrote. Using a user entered key that's been padded to suit AES 256 key length, saving the key and hardcoding the padding text.
On Apr 4, 2:28 pm, Trenatos <[email protected]> wrote: > I noticed something odd, the error number I get seems to be the number > of characters in the key. > (So if #form.key# is "key" I get error number "3", if they key is > "random" I get error number "6") > > It works if I use generateSecretKey("AES",256)(just tested) and use > that as the key, but I'd like to be able to choose keys I can > remember, I thought I could use any string as key? > > It seems I can't, which means I'll have to use flatfiles or database > to store a users key and the generated key for correlation. > Unfortunately this means I have to actually store the key somewhere. > > On Apr 4, 12:42 pm, Trenatos <[email protected]> wrote: > > > > > > > > > I'll try it with one of my deployed sites and see if that works. > > > On Apr 4, 12:36 pm, Matthew Woodward <[email protected]> wrote: > > > > On Wed, Apr 4, 2012 at 10:16 AM, Trenatos <[email protected]> wrote: > > > > Aye, release date is 2012-01-01 10:07:45 but the code is still not > > > > working, now I get error "9". > > > > (Nothing changes with downloading the file Matthew recommended > > > > either.) > > > > I don't use the desktop version enough to know where to put the jars, but > > > in a WAR deployment on Tomcat putting BouncyCastle in the mix absolutely > > > fixed the problem for me. > > > > -- > > > Matthew Woodward > > > [email protected]http://blog.mattwoodward.com > > > identi.ca / Twitter: @mpwoodward > > > > Please do not send me proprietary file formats such as Word, PowerPoint, > > > etc. as attachments.http://www.gnu.org/philosophy/no-word-attachments.html -- online documentation: http://openbd.org/manual/ google+ hints/tips: https://plus.google.com/115990347459711259462 http://groups.google.com/group/openbd?hl=en
