Re: AES client side

From: Date: Mon, 31 Jul 2006 13:02:19 +0000
Subject: Re: AES client side
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-239910@lists.php.net to get a copy of this message
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. > > >

« previous php.general (#239910) next »