ERXCrypto
ERXCrypto
- Subject: ERXCrypto
- From: Greg Hulands <email@hidden>
- Date: Thu, 17 Jun 2004 14:08:19 +1000
Hi,
I am trying to use ERXCrypto to encrypt a string before storing to the
database. I have set the password in the properties file, but when I go
to encode it, I get the following exception:
2004-06-17 13:49:58,149 ERROR ShoeBox[18851:50212 1] ERXCrypto
(ERXCrypto.java:83) - Caught exception trying to create cipher
java.lang.SecurityException: Unsupported keysize or algorithm
parameters - java.lang.SecurityException: Unsupported keysize or
algorithm parameters
at javax.crypto.Cipher.init(DashoA6275)
at er.extensions.ERXCrypto.createBlowfishCipher(ERXCrypto.java:81)
at er.extensions.ERXCrypto.encryptCipher(ERXCrypto.java:97)
at er.extensions.ERXCrypto.blowfishEncode(ERXCrypto.java:179)
at Client.setPassword(Client.java:129)
The exception page displayed says the cipher didn't initialize.
Does anyone know what causes this problem?
Any help is greatly appreciated.
Regards,
Greg
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.