标签:style blog strong ar div line log size
首先是加密
byte[] bytes = Encoding.Default.GetBytes("要转换的字符"); string str = Convert.ToBase64String(bytes);
然后是解密
byte[] outputb = Convert.FromBase64String(str); string orgStr = Encoding.Default.GetString(outputb);
C#中的实现 base64加密和解密,布布扣,bubuko.com
标签:style blog strong ar div line log size
原文地址:http://www.cnblogs.com/zfanlong1314/p/3916030.html