Then get a SSL certificate and let the browser do the job. If you do it with JavaScript or open-code language why shouldn't I just take your code and sniff the data you/the browser sends and decrypt it. Andy Andrew Senyshyn wrote: > Andrei wrote: >> Encrypting/decriptying data at client side (in javascript or whatever >> script which sends the code to the client) is useless. It's like having >> the data "in clear" at client side. I use JavaScript only to make the >> interface "interactive". >> >> Andy >> >> Andrew Senyshyn wrote: >> >>> Hi all, >>> >>> I need to implement AES decryption algorythm on client side (in >>> browser). >>> I tried javascript but it is too slow. >>> Does anybody have others ideas how to decrypt data transfered by from >>> server to client in browser? >>> >>> >> >> > Ok. But when you propose to decrypt data? > I have text in DB encrypted with AES. Get that text from DB with php. If > I decrypt it in php, it will send text 'in clear' to client. > I need encrypted data between server and client. only on client it must > be decrypted. > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php