登录
首页 » c++ » 密码算法md5 c源码

密码算法md5 c源码

于 2022-07-19 发布 文件大小:2.35 kB
0 120
下载积分: 2 下载次数: 1

代码说明:

1. 对信息进行填充,使其字节长度与448模512同余 2. 设置好4个链接变量,进入算法的4轮循环运算 3. 每轮一个非线性函数 F(x, y, z)  (((x) & (y)) | ((~x) & (z)))   G(x, y, z)  (((x) & (z)) | ((y) & (~z))) H(x, y, z)  ((x) ^ (y) ^ (z)) I(x, y, z)  ((y) ^ ((x) | (~z))) MD5轮主要操作: FF(a, b, c, d, x, s, ac) { (a) += F ((b), (c), (d)) + (x) + ac; (a) = ROTATE_LEFT ((a), (s)); (a) += (b); } GG(a, b, c, d, x, s, ac) { (a) += G ((b), (c), (d)) + (x) + ac; (a) = ROTATE_LEFT ((a), (s)); (a) += (b); } HH(a, b, c, d, x, s, ac) { (a) += H ((b), (c), (d)) + (x) + ac; (a) = ROTATE_LEFT ((a), (s)); (a) += (b); } II(a, b, c, d, x, s, ac) { (a) += I ((b), (c), (d)) + (x) + ac; (a) = ROTATE_LEFT ((a), (s)); (a) += (b); }

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

发表评论

0 个回复

  • Responder
    用51单片机写的抢答器,由于每个人的开发板不同,因此如果需要参考,请仔细研究IO口. PS:学校的破板子(51 microcontroller with written Responder, because each person s development board, so if you need a reference, please examine the IO port)
    2015-04-02 08:46:58下载
    积分:1
  • Lab0306-DA
    说明:  在DSP5509A上实现的DA转换,可以直接在DSP上面实现(Implemented on the DSP5509A DA conversion can be achieved directly in the DSP top)
    2010-04-03 15:44:41下载
    积分:1
  • digital-thermometer
    利用数字温度传感器DS18B20与单片机结合来测量温度控制器,使用单片机AT89C51,测温传感器使用DS18B20,用3位共阳极LED数码管以串口传送数据,实现温度显示。(Binding to measure the temperature controller, using the AT89C51 microcontroller, DS18B20 temperature sensors, with a common anode three LED digital serial transmission of data to achieve using a digital temperature display and temperature sensor DS18B20 microcontroller.)
    2020-06-26 15:40:02下载
    积分:1
  • FreeRTOS移植
    freettos的最小系统移植,亲测能编译成功,使led灯周期闪烁(freertos ,stm32f103,keil5,c++)
    2020-06-23 06:40:01下载
    积分:1
  • STM32F407FFT
    使用STM32官方提供的DSP库进行FFT,虽然在使用上有些不灵活(因为它是基4的FFT,所以FFT的点数必须是4^n),但其执行效率确实非常高效,看图1所示的FFT运算效率测试数据便可见一斑。该数据来自STM32 DSP库使用文档(. Using the official DSP library provided by STM32 for FFT is not flexible in use (because it is the FFT of base 4, so the number of FFT points must be 4 ^ n), but its execution efficiency is really very efficient, as can be seen from the test data of FFT operation efficiency shown in Figure 1. This data comes from STM32 DSP library usage document)
    2020-06-20 19:00:02下载
    积分:1
  • WPF实现界面切换的裂开效果
    WPF实现界面切换的裂开效果
    2014-11-04下载
    积分:1
  • TrainFinalVersion
    这个程序是用堆栈来对火车排序的,该火车的车厢是乱的,经过排序后,火车的车厢变为顺序的,特点是使用VC编写的(This procedure is used to sort the stack to the train, the train is inside the chaos, after sorting, the train carriages into the order, characterized by the use of VC prepared)
    2009-06-03 11:50:07下载
    积分:1
  • RubikCube-master
    用c++和Direct3D写的一个3D三阶魔方(3D Rubik Cube based on C++&Direct3D)
    2017-10-27 14:05:08下载
    积分:1
  • daoeg
    一个使用DAO的例子(An example of the use of DAO)
    2003-09-07 12:21:08下载
    积分:1
  • kalman
    kalman滤波在嵌入式中的应用,可用于智能车的制作,对陀螺仪和加速度计进行优化。(kalman filtering applications in embedded in can be used smart car production, gyroscopes and accelerometers for optimization.)
    2014-09-11 09:58:31下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载