I’ve been looking at this encryption method, which uses base 64.
However, since base64 includes /, when I pass it via a URL the inclusion of / might mess things up. How do I get round this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That answer base 64 encodes it, and since base 64 includes
/, you’ll want to encode it again, for which you can useurlencode. When you have aurlencoded string, you can get its value withurldecode.