Encrypt Query String including keys

后端 未结 2 1562
难免孤独
难免孤独 2020-12-05 06:01

I have an app that is using query string to pass some values around pages. I found few examples on how to encrypt values in query string, but the problem is that my KEYS tel

2条回答
  •  难免孤独
    2020-12-05 06:41

    There are many examples on web.

    some of them:

    How can I encrypt a querystring in asp.net?

    how to pass encrypted query string in asp.net

    http://www.codeproject.com/Articles/33350/Encrypting-Query-Strings

    http://www.keyvan.ms/how-to-encrypt-query-string-parameters-in-asp-net

    http://forums.asp.net/t/989552.aspx/1

    Now you say that you do like to encrypt the keys also, actually what you have to do is to encrypt them all url line, and then you just read the RawUrl what after the ? and decrypt it.

提交回复
热议问题