I\'m building a website and my payment methods will be Google Checkout and Paypal. There will be links/buttons which will redirect the user to the secure Google/Paypal sites
This is the code to take the input and then encrypt the content by java script The entire code is also available in github.you guys can search for it encrypt_js_decrypt_php. The problem was running since long.I have come up with the solution.Just import it into localhost.
Now,lets decrypt the code in php
code ;
$age =$json->Age ;
$key = "secretKeyToProvide"; /*--Provide Your secret key here what you have given in javascript--*/
$decryptedSecretCode = rc4($key, $secretCode) ;
echo $decryptedSecretCode;
exit;
?>