Re: RSA implementation

From: Date: Tue, 11 Feb 2003 17:49:27 +0000
Subject: Re: RSA implementation
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-135215@lists.php.net to get a copy of this message
José León Serna wrote:
Hello: I'm looking for an RSA implementation, the ones I have found are really slow, and I just want to: generatekey decrypt the encryptfunction will be done in javascript, it's for a login system without SSL.
Have you considered using on one-way MD5 hash instead? Again, it would need JS to do the client-side hashing (so JS on the client mandatory). In the server database keep the hashed values and compare them with what the client sends. Keeping the hashed values in the database is more secure than unencrypted passwords, and you don't want to look at users' passwords anyway, do you? Just a thought, in case you had not yet considered it. The archives from a week or so ago will have something on this, I remember it being discussed. HTH Chris

« previous php.general (#135215) next »