登录
首页 » C# 序列号 » 序列号生成代码

序列号生成代码

于 2022-02-14 发布 文件大小:68.24 kB
0 44
下载积分: 2 下载次数: 1

代码说明:

        public static string DesEncrypt(string encryptString, string key)         {             byte[] keyBytes = Encoding.UTF8.GetBytes(key.Substring(0, 8));             byte[] keyIV = keyBytes;             byte[] inputByteArray = Encoding.UTF8.GetBytes(encryptString);             DESCryptoServiceProvider provider = new DESCryptoServiceProvider();             MemoryStream mStream = new MemoryStream();             CryptoStream cStream = new CryptoStream(mStream, provider.CreateEncryptor(keyBytes, keyIV), CryptoStreamMode.Write);  &nb

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • stm32读DS18B20
    读DS18B20序列号。方便以后的电路一总线同时挂多个DS18B20温度传感器用。
    2022-01-26 00:05:07下载
    积分:1
  • 获取硬盘
    获取硬盘序列号的源码,可以用于加密等组件的序列号提取
    2022-04-26 09:18:27下载
    积分:1
  • 生成代码
            public static string DesEncrypt(string encryptString, string key)         {             byte[] keyBytes = Encoding.UTF8.GetBytes(key.Substring(0, 8));             byte[] keyIV = keyBytes;             byte[] inputByteArray = Encoding.UTF8.GetBytes(encryptString);             DESCryptoServiceProvider provider = new DESCryptoServiceProvider();             MemoryStream mStream = new MemoryStream();             CryptoStream cStream = new CryptoStream(mStream, provider.CreateEncryptor(keyBytes, keyIV), CryptoStreamMode.Write);  &nb
    2022-02-14 04:41:29下载
    积分:1
  • 696518资源总数
  • 104224会员总数
  • 54今日下载