-
MIPI_DSI_Specification_v1.3 (1)
说明: MIPI协议,详细注明mipi接口是怎么接受信号,处理信号(MIPI protocol, specify in detail how the Mipi interface receives and processes signals)
- 2019-04-11 12:09:31下载
- 积分: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
-
Lab3-8-1 ADC - 副本
说明: What adc measures, you can see that there are good things to share with hh.
- 2020-06-20 06:40:02下载
- 积分:1
-
test5_fast_foc_f28027_20180501(BSVPWM)
说明: DSP28027使用快速FOC算法控制直流无刷电机(Dsp28027 uses fast FOC algorithm to control DC BLDCM)
- 2021-04-27 13:08:45下载
- 积分:1
-
日期控件,单击文本框后,出现日期控件
日期控件,单击文本框后,出现日期控件
-Date of controls, click the text box after the date of the control appears
- 2022-11-19 00:40:04下载
- 积分:1
-
检测疲劳驾驶(有详细说明)
用于人脸识别,检测驾驶员人员是否疲劳,在现实中有很好的应用,其算法简单易懂,适合初学者(For face recognition, detection of driver fatigue, in reality has a very good application, the algorithm is simple, easy to understand, suitable for beginners)
- 2020-10-27 23:39:58下载
- 积分:1
-
SPWM单相全桥逆变代码
逆变器(inverter,又称变流器、反流器,或称反用换流器、电压转换器)是一个利用高频电桥电路将直流电变换成交流电的电子器件,其目的与整流器相反。可将12V或24V的直流电转换成230V、50Hz交流电或其它类型的交流电。它由逆变桥、控制逻辑和滤波电路组成(Inverter (also known as converter, inverter, or inverter inverter, voltage converter) is a high-frequency bridge circuit to convert direct current to alternating current electronic devices, the purpose of the opposite of the rectifier . Converts 12V or 24V DC to 230V, 50Hz AC or other types of AC. It consists of inverter bridge, control logic and filter circuit)
- 2018-01-16 09:28:55下载
- 积分:1
-
alpha
基于C语言的Alpha稳定分布随机信号的产生方法。独一无二的源程序。(C language based on Alpha stable distribution, the method of random signals. Unique source.)
- 2020-11-18 17:19:38下载
- 积分:1
-
Camera
Camera movement in opengl
- 2011-03-21 01:15:04下载
- 积分:1
-
RecordingScreen
说明: C++实现电脑屏幕获取和显示,更改一下可以保存为文件(The acquisition and display of computer screen is realized by the C-c)
- 2020-06-17 05:00:02下载
- 积分:1