bug fixed for encrypt-decrypt. issue was with python quote and js decodeURI.