RE: [PHP] AES client side
| From: | Jay Blanchard | Date: | Mon, 31 Jul 2006 14:38:28 +0000 |
| Subject: | RE: [PHP] AES client side | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-239919@lists.php.net to get a copy of this message | ||
[snip]
Why *must* you use SSL? Again, devil's advocate here (SSL is probably
much better) but that doesn't mean that you can't use some crazy JS and
PHP to implement some alternative encryption technique. (Say a symmetric
algorithm that isn't implemented in any standard SSL implementations, or
a proof of concept etc.)
For example:
- Client (javascript) and Server (PHP script) decide on some key via
secure key negotiation.
- One end encrypts message using key and wacky encryption algorithm,
other end decrypts it. Same thing again, client/server reversed.
[/snip]
This still leaves any Javascript exposed, doesn't it?