--- Gordon Stewart wrote:
> Hi there, Is there a PHP function to ENCRYPT text,
> But which can then be de-crypted using Javascript... (below)....

You can use base64_encode function which is rather easy to decode with
javascript. It's not really encryption but merely obfuscation. 

If you need stronger encryption take a look at 3DES algorithm or
something similar. You probably won't find javascript implementation,
but you can find some in C and rewrite that to javascript.

Althought, I'd like to know what do you need it for? It's much easier
to use https to protect the data stream between browser and web server.

-- 

Milan Babuskov
http://www.guacosoft.com

Reply via email to