1
1
.加密。
2![None.gif](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
3
Response.Redirect(
"
DetailInfo.aspx?id=
"
+
Convert.ToBase64String(System.Text.Encoding.Default.GetBytes(
"
sp10006
"
)).Replace(
"
+
"
,
"
%2B
"
));
4![None.gif](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
5
2
.解密。
6![None.gif](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
7
string
ID
=
System.Text.Encoding.Default.GetString(Convert.FromBase64String(Request.QueryString[
"
id
"
].ToString().Replace(
"
%2B
"
,
"
+
"
)));
8![None.gif](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
9
![None.gif](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
2
![None.gif](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
3
![None.gif](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
4
![None.gif](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
5
![None.gif](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
6
![None.gif](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
7
![None.gif](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
8
![None.gif](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
9
![None.gif](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)