Login Register

crypto

Blowfish Speed Up

Last year I did some work using Blowfish.js as a base. I made some simple optimisations to the code and was able to reduce the time to encrypt and decrypt short text messages by about half.

Would you be interested in these optimisations?

Regards

Peter

encrypt on client and decrypt on server with blowfish

I'm encrypting a password on the client using

mcs.userPassword = dojox.crypto.Blowfish.encrypt(_this.logonForm_j_password.getValue(), "key")

before posting to the server. The servlet is calling

String decpassword = Blowfish.decrypt(password, "key")

I see the encrypted password being posted, but decpassword is always coming up empty.
On the server-side I'm using a jar found at http://www.aurigalogic.com/downloads/auriga-cryptolib/
Am I missing something, using it incorrectly, mis-understanding crypto?

Syndicate content