Encrypt URl for QR Code

Jassim Al Rahma 1,616 Reputation points
2022-09-10T14:24:11.817+00:00

Hi,

I have the following URL:

https://www.myapp.com/send.php?id=1111&sector=2222&auth=x1x2x3&date=2022-07-19&class=1&ux=1&sv=Y1973  

I want to share this using a QR code but because it contains the authentication key so I want to encrypt the entire URL and then decrypt it.

What is the best-recommended way?

kindly help..

Thanks,
Jassim

Developer technologies C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2022-09-10T15:24:23.803+00:00

    You should encrypt the the query string parameters and convert to base64url encoded

    https://www.myapp.com/send.php?q= SWQxMTExJnNlY3Rvcj0yMjIyJmF1dGg9eDF4MngzJmRhdGU9MjAyMi0wNy0xOSZjbGFzcz0xJnV4PTEmc3Y9WTE5NzM


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.