Exemplo n.º 1
0
        /// <summary>
        /// 获取具有标准的Base64密码表的加密类
        /// </summary>
        /// <returns>Base64密码表的加密类</returns>
        public static MyBase64Helper GetStandardBase64()
        {
            var b64 = new MyBase64Helper {
                Pad = "=", CodeTable = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
            };

            return(b64);
        }
Exemplo n.º 2
0
 /// <summary>
 /// 获取具有标准的Base64密码表的加密类
 /// </summary>
 /// <returns>Base64密码表的加密类</returns>
 public static MyBase64Helper GetStandardBase64()
 {
     var b64 = new MyBase64Helper { Pad = "=", CodeTable = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" };
     return b64;
 }