定义rsa,参见相关资料。
中文转码为URL中可见的字符:
byte[] name = rsa.Encrypt(HttpUtility.UrlEncode("长风吹雪", new UTF8Encoding()));
byte[] text = rsa.Decrypt(name);
string value = HttpUtility.UrlDecode(RSAUtils.UTF8BytesToString(text), new UTF8Encoding());