-
(c#)IC卡数据读取,通讯方式为串口通讯
(c#)IC卡数据读取,通讯方式为串口通讯-(C#) IC card data read means of communication for the Serial Communications
- 2023-07-04 14:20:03下载
- 积分:1
-
matlabprog
matlab实例编程一百个源程序,里面含有matlab图像处理的基本算法(example of matlab programming source 100, which contains the basic matlab image processing algorithm)
- 2009-05-15 20:14:45下载
- 积分:1
-
RTOS多任务OS代码
RTOS多任务OS代码
1. 1_点灯实验 和 2_os 两个 文件夹是文档 的示例代码的项目.
2. 示例代码项目 1_点灯实验 和 2_os 的工程目录结构是一样的.
3. 和文档的主题有关的源文件仅为 main 文件夹下的 cpp_Test.cpp,
其他均为与文档主题无关的内容.
4. mdk 的工程文件在 uvproj 目录下, 生成的目标文件在 uvprojoutput
目录下.
5. 程序下载到 Mini 板, 启动时, 红色LED会点亮 1s, 属正常现象.
- 2022-08-04 11:00:30下载
- 积分:1
-
C# 实现 MD5加密解密算法
using System.Security.Cryptography;using System.IO; using System.Text; ///MD5加密 public string MD5Encrypt(string pToEncrypt, string sKey) { DESCryptoServiceProvider des = new DESCryptoServiceProvider(); byte[] inputByteArray = Encoding.Default.GetBytes(pToEncrypt); des.Key = ASCIIEncoding.ASCII.GetBytes(sKey); des.IV = ASCIIEncoding.ASCII.GetBytes(sKey); MemoryStream ms = new MemoryStream(); CryptoStream cs = new CryptoStream(ms, des.CreateEncryptor(),CryptoStreamMode.Write); cs.Write(inputByteArray, 0, inputByteArray.Length); cs.FlushFinalBlock(); StringBuilder ret = new StringBuilder(); foreach(byte b in ms.ToArray()) { ret.AppendFormat("{0:X2}", b); } ret.ToString(); return ret.ToString(); } ///MD5解密 public string MD5Decrypt(string pToDecrypt, string sKey) { DESCryptoServiceProvider des = new DESCryptoServiceProvider(); byte[] inputByteArray = new byte[pToDecrypt.Length / 2]; for(int x = 0; x < pToDecrypt.Length / 2; x ) { int i = (Convert.ToInt32(pToDecrypt.Substring(x * 2, 2), 16)); inputByteArray[x] = (byte)i; } des.Key = ASCIIEncoding.ASCII.GetBytes(sKey); des.IV = ASCIIEncoding.ASCII.GetBytes(sKey); MemoryStream ms = new MemoryStream(); CryptoStream cs = new CryptoStream(ms, des.CreateDecryptor(),CryptoStreamMode.Write); cs.Write(inputByteArray, 0, inputByteArray.Length); cs.FlushFinalBlock(); StringBuilder ret = new StringBuilder(); return System.Text.Encoding.Default.GetString(ms.ToArray()); }
- 2013-11-13下载
- 积分:1
-
LED-Color_Control
51单片机控制MOS管来驱动RGBLED做七彩动画(MOS MCU control tube 51 to drive RGBLED do colorful animations)
- 2010-08-03 15:08:02下载
- 积分:1
-
12312545
8051系列单片机C程序设计完全手册,适用于精通单片机的人员(8051 C programming completely manual applies to personnel proficient microcontroller)
- 2013-03-18 22:34:02下载
- 积分:1
-
Netmanag
强大的网络管理工具,实现文件、邮件、网络等综合管理(Powerful network management tools, file, mail, Internet and other integrated management)
- 2013-05-27 08:46:33下载
- 积分:1
-
SimpleApp
说明: cc2430开发实例 simpleapp 可在此基础上修改(cc2430 Development Example)
- 2010-04-06 17:58:29下载
- 积分:1
-
SuperSocket(1.4-SP4).Source
超级Socket框架,支持各类TCP/IP服务器快速实现(super Socket framework, all TCP/ip server types included)
- 2012-06-17 13:29:24下载
- 积分:1
-
875456
通过标签为iOS,精选ios编程学习源码,很好的参考资料。(The label for iOS, select learning IOS programming source code, a good reference.)
- 2013-12-08 16:54:31下载
- 积分:1