/// <summary>
        /// 创建密钥
        /// </summary>
        /// <returns></returns>
        public override SymmetricKey CreateKey()
        {
            var key = TripleDESEncryptionProvider.CreateKey(TripleDESKeySizeType.L128, Encoding);

            return(new SymmetricKey()
            {
                Key = key.Key, IV = key.IV
            });
        }
 /// <summary>
 /// 解密
 /// </summary>
 /// <param name="value">待解密的值</param>
 /// <param name="key">密钥</param>
 /// <param name="iv">加密偏移量</param>
 /// <param name="outType">输出类型,默认为<see cref="OutType.Base64"/></param>
 /// <param name="encoding">编码类型,默认为<see cref="Encoding.UTF8"/></param>
 /// <returns></returns>
 public override string Decrypt(string value, string key, string iv = null)
 {
     return(TripleDESEncryptionProvider.Decrypt(value, key, iv, null, OutType, Encoding, TripleDESKeySizeType.L128));
 }