My.RolePermission.Common/xEncrypt.cs

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/****************************************************************************
 *Copyright (c) 2016 All Rights Reserved.
 *CLR版本: 4.0.30319.42000
 *机器名称:DESKTOP-V7CFIC3
 *公司名称:
 *命名空间:My.RolePermission.Common
 *文件名:  ValidateCode
 *版本号:  V1.0.0.0
 *唯一标识:ffebf19c-d399-4773-b3b4-7b601885f525
 *当前的用户域:DESKTOP-V7CFIC3
 *创建人:  zouqi
 *电子邮箱:zouqiongjun@kjy.com
 *创建时间:2016/6/20 21:20:34

 *描述:
 *
 *=====================================================================
 *修改标记
 *修改时间:2016/6/19 21:20:34
 *修改人: zouqi
 *版本号: V1.0.0.0
 *描述:
 *
 *****************************************************************************/
using System;
using System.Text;
using System.Security.Cryptography;
using System.IO;

namespace My.RolePermission.Common
{
    /// <summary>
    /// 加密
    /// </summary>
    public class xEncrypt
    {
        public xEncrypt()
        {
            //
            // TODO: 在此处添加构造函数逻辑
            //
        }
        private const string ENCRYPT_KEY = "zhongguo";

        /// <summary>
        /// 加密
        /// </summary>
        /// <param name="strText"></param>
        /// <returns></returns>
        public static string EncryptText(string strText)
        {
            return Encrypt(strText, ENCRYPT_KEY);
        }
        /// <summary>
        ///  加密
        /// </summary>
        /// <param name="strText"></param>
        /// <param name="strKey"></param>
        /// <returns></returns>
        public static string EncryptText(string strText, string strKey)
后面还有 70 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。