开启辅助访问 切换到宽版

精易论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

用微信号发送消息登录论坛

新人指南 邀请好友注册 - 我关注人的新帖 教你赚取精币 - 每日签到


求职/招聘- 论坛接单- 开发者大厅

论坛版规 总版规 - 建议/投诉 - 应聘版主 - 精华帖总集 积分说明 - 禁言标准 - 有奖举报

查看: 416|回复: 10
收起左侧

[易语言] 有没有高效率的MD5算法,求助大佬们

[复制链接]
结帖率:0% (0/2)
发表于 2024-12-9 21:44:31 | 显示全部楼层 |阅读模式   重庆市重庆市
5精币
有没有高效率的MD5算法,求助大佬们,我用循环方式 校验_取md5 感觉特别慢

QQ图片20241209213615.png

回答提醒:如果本帖被关闭无法回复,您有更好的答案帮助楼主解决,请发表至 源码区 可获得加分喔。
友情提醒:本版被采纳的主题可在 申请荣誉值 页面申请荣誉值,获得 1点 荣誉值,荣誉值可兑换荣誉会员、终身vip用户组。
快捷通道:申请荣誉值无答案申请取消悬赏投诉有答案未采纳为最佳
结帖率:97% (37/38)

签到天数: 13 天

发表于 2024-12-9 21:50:16 | 显示全部楼层   广东省梅州市
多线程呀
回复

使用道具 举报

签到天数: 15 天

发表于 2024-12-9 21:51:53 | 显示全部楼层   四川省宜宾市
回复

使用道具 举报

签到天数: 15 天

发表于 2024-12-9 22:04:53 | 显示全部楼层   四川省宜宾市
1.e (23.52 KB, 下载次数: 13)
回复

使用道具 举报

结帖率:100% (3/3)

签到天数: 20 天

发表于 2024-12-10 03:52:56 | 显示全部楼层   福建省莆田市
这个不错啊,每秒能达100w
  
子程序名返回值类型公开备 注
汇编取MD5文本型 
参数名类 型参考可空数组备 注
数据字节集+8
变量名类 型静态数组备 注
过程数据字节集 
过程数据 = { 1, 35, 69, 103, 137, 171, 205, 239, 254, 220, 186, 152, 118, 84, 50, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
置入代码 ({ 131, 236, 32, 233, 209, 5, 0, 0, 96, 139, 117, 240, 139, 125, 228, 139, 6, 139, 94, 4, 139, 78, 8, 139, 239, 139, 86, 12, 139, 249, 51, 250, 35, 251, 51, 250, 3, 69, 0, 141, 132, 56, 120, 164, 106, 215, 193, 192, 7, 3, 195, 139, 251, 51, 249, 35, 248, 51, 249, 3, 85, 4, 141, 148, 58, 86, 183, 199, 232, 193, 194, 12, 3, 208, 139, 248, 51, 251, 35, 250, 51, 251, 3, 77, 8, 141, 140, 57, 219, 112, 32, 36, 193, 193, 17, 3, 202, 139, 250, 51, 248, 35, 249, 51, 248, 3, 93, 12, 141, 156, 59, 238, 206, 189, 193, 193, 195, 22, 3, 217, 139, 249, 51, 250, 35, 251, 51, 250, 3, 69, 16, 141, 132, 56, 175, 15, 124, 245, 193, 192, 7, 3, 195, 139, 251, 51, 249, 35, 248, 51, 249, 3, 85, 20, 141, 148, 58, 42, 198, 135, 71, 193, 194, 12, 3, 208, 139, 248, 51, 251, 35, 250, 51, 251, 3, 77, 24, 141, 140, 57, 19, 70, 48, 168, 193, 193, 17, 3, 202, 139, 250, 51, 248, 35, 249, 51, 248, 3, 93, 28, 141, 156, 59, 1, 149, 70, 253, 193, 195, 22, 3, 217, 139, 249, 51, 250, 35, 251, 51, 250, 3, 69, 32, 141, 132, 56, 216, 152, 128, 105, 193, 192, 7, 3, 195, 139, 251, 51, 249, 35, 248, 51, 249, 3, 85, 36, 141, 148, 58, 175, 247, 68, 139, 193, 194, 12, 3, 208, 139, 248, 51, 251, 35, 250, 51, 251, 3, 77, 40, 141, 140, 57, 177, 91, 255, 255, 193, 193, 17, 3, 202, 139, 250, 51, 248, 35, 249, 51, 248, 3, 93, 44, 141, 156, 59, 190, 215, 92, 137, 193, 195, 22, 3, 217, 139, 249, 51, 250, 35, 251, 51, 250, 3, 69, 48, 141, 132, 56, 34, 17, 144, 107, 193, 192, 7, 3, 195, 139, 251, 51, 249, 35, 248, 51, 249, 3, 85, 52, 141, 148, 58, 147, 113, 152, 253, 193, 194, 12, 3, 208, 139, 248, 51, 251, 35, 250, 51, 251, 3, 77, 56, 141, 140, 57, 142, 67, 121, 166, 193, 193, 17, 3, 202, 139, 250, 51, 248, 35, 249, 51, 248, 3, 93, 60, 141, 156, 59, 33, 8, 180, 73, 193, 195, 22, 3, 217, 139, 249, 51, 251, 35, 250, 51, 249, 3, 69, 4, 141, 132, 56, 98, 37, 30, 246, 193, 192, 5, 3, 195, 139, 251, 51, 248, 35, 249, 51, 251, 3, 85, 24, 141, 148, 58, 64, 179, 64, 192, 193, 194, 9, 3, 208, 139, 248, 51, 250, 35, 251, 51, 248, 3, 77, 44, 141, 140, 57, 81, 90, 94, 38, 193, 193, 14, 3, 202, 139, 250, 51, 249, 35, 248, 51, 250, 3, 93, 0, 141, 156, 59, 170, 199, 182, 233, 193, 195, 20, 3, 217, 139, 249, 51, 251, 35, 250, 51, 249, 3, 69, 20, 141, 132, 56, 93, 16, 47, 214, 193, 192, 5, 3, 195, 139, 251, 51, 248, 35, 249, 51, 251, 3, 85, 40, 141, 148, 58, 83, 20, 68, 2, 193, 194, 9, 3, 208, 139, 248, 51, 250, 35, 251, 51, 248, 3, 77, 60, 141, 140, 57, 129, 230, 161, 216, 193, 193, 14, 3, 202, 139, 250, 51, 249, 35, 248, 51, 250, 3, 93, 16, 141, 156, 59, 200, 251, 211, 231, 193, 195, 20, 3, 217, 139, 249, 51, 251, 35, 250, 51, 249, 3, 69, 36, 141, 132, 56, 230, 205, 225, 33, 193, 192, 5, 3, 195, 139, 251, 51, 248, 35, 249, 51, 251, 3, 85, 56, 141, 148, 58, 214, 7, 55, 195, 193, 194, 9, 3, 208, 139, 248, 51, 250, 35, 251, 51, 248, 3, 77, 12, 141, 140, 57, 135, 13, 213, 244, 193, 193, 14, 3, 202, 139, 250, 51, 249, 35, 248, 51, 250, 3, 93, 32, 141, 156, 59, 237, 20, 90, 69, 193, 195, 20, 3, 217, 139, 249, 51, 251, 35, 250, 51, 249, 3, 69, 52, 141, 132, 56, 5, 233, 227, 169, 193, 192, 5, 3, 195, 139, 251, 51, 248, 35, 249, 51, 251, 3, 85, 8, 141, 148, 58, 248, 163, 239, 252, 193, 194, 9, 3, 208, 139, 248, 51, 250, 35, 251, 51, 248, 3, 77, 28, 141, 140, 57, 217, 2, 111, 103, 193, 193, 14, 3, 202, 139, 250, 51, 249, 35, 248, 51, 250, 3, 93, 48, 141, 156, 59, 138, 76, 42, 141, 193, 195, 20, 3, 217, 139, 249, 51, 250, 51, 251, 3, 69, 20, 141, 132, 7, 66, 57, 250, 255, 193, 192, 4, 3, 195, 139, 251, 51, 249, 51, 248, 3, 85, 32, 141, 148, 23, 129, 246, 113, 135, 193, 194, 11, 3, 208, 139, 248, 51, 251, 51, 250, 3, 77, 44, 141, 140, 15, 34, 97, 157, 109, 193, 193, 16, 3, 202, 139, 250, 51, 248, 51, 249, 3, 93, 56, 141, 156, 31, 12, 56, 229, 253, 193, 195, 23, 3, 217, 139, 249, 51, 250, 51, 251, 3, 69, 4, 141, 132, 7, 68, 234, 190, 164, 193, 192, 4, 3, 195, 139, 251, 51, 249, 51, 248, 3, 85, 16, 141, 148, 23, 169, 207, 222, 75, 193, 194, 11, 3, 208, 139, 248, 51, 251, 51, 250, 3, 77, 28, 141, 140, 15, 96, 75, 187, 246, 193, 193, 16, 3, 202, 139, 250, 51, 248, 51, 249, 3, 93, 40, 141, 156, 31, 112, 188, 191, 190, 193, 195, 23, 3, 217, 139, 249, 51, 250, 51, 251, 3, 69, 52, 141, 132, 7, 198, 126, 155, 40, 193, 192, 4, 3, 195, 139, 251, 51, 249, 51, 248, 3, 85, 0, 141, 148, 23, 250, 39, 161, 234, 193, 194, 11, 3, 208, 139, 248, 51, 251, 51, 250, 3, 77, 12, 141, 140, 15, 133, 48, 239, 212, 193, 193, 16, 3, 202, 139, 250, 51, 248, 51, 249, 3, 93, 24, 141, 156, 31, 5, 29, 136, 4, 193, 195, 23, 3, 217, 139, 249, 51, 250, 51, 251, 3, 69, 36, 141, 132, 7, 57, 208, 212, 217, 193, 192, 4, 3, 195, 139, 251, 51, 249, 51, 248, 3, 85, 48, 141, 148, 23, 229, 153, 219, 230, 193, 194, 11, 3, 208, 139, 248, 51, 251, 51, 250, 3, 77, 60, 141, 140, 15, 248, 124, 162, 31, 193, 193, 16, 3, 202, 139, 250, 51, 248, 51, 249, 3, 93, 8, 141, 156, 31, 101, 86, 172, 196, 193, 195, 23, 3, 217, 139, 250, 131, 247, 255, 11, 251, 51, 249, 3, 69, 0, 141, 132, 56, 68, 34, 41, 244, 193, 192, 6, 3, 195, 139, 249, 131, 247, 255, 11, 248, 51, 251, 3, 85, 28, 141, 148, 58, 151, 255, 42, 67, 193, 194, 10, 3, 208, 139, 251, 131, 247, 255, 11, 250, 51, 248, 3, 77, 56, 141, 140, 57, 167, 35, 148, 171, 193, 193, 15, 3, 202, 139, 248, 131, 247, 255, 11, 249, 51, 250, 3, 93, 20, 141, 156, 59, 57, 160, 147, 252, 193, 195, 21, 3, 217, 139, 250, 131, 247, 255, 11, 251, 51, 249, 3, 69, 48, 141, 132, 56, 195, 89, 91, 101, 193, 192, 6, 3, 195, 139, 249, 131, 247, 255, 11, 248, 51, 251, 3, 85, 12, 141, 148, 58, 146, 204, 12, 143, 193, 194, 10, 3, 208, 139, 251, 131, 247, 255, 11, 250, 51, 248, 3, 77, 40, 141, 140, 57, 125, 244, 239, 255, 193, 193, 15, 3, 202, 139, 248, 131, 247, 255, 11, 249, 51, 250, 3, 93, 4, 141, 156, 59, 209, 93, 132, 133, 193, 195, 21, 3, 217, 139, 250, 131, 247, 255, 11, 251, 51, 249, 3, 69, 32, 141, 132, 56, 79, 126, 168, 111, 193, 192, 6, 3, 195, 139, 249, 131, 247, 255, 11, 248, 51, 251, 3, 85, 60, 141, 148, 58, 224, 230, 44, 254, 193, 194, 10, 3, 208, 139, 251, 131, 247, 255, 11, 250, 51, 248, 3, 77, 24, 141, 140, 57, 20, 67, 1, 163, 193, 193, 15, 3, 202, 139, 248, 131, 247, 255, 11, 249, 51, 250, 3, 93, 52, 141, 156, 59, 161, 17, 8, 78, 193, 195, 21, 3, 217, 139, 250, 131, 247, 255, 11, 251, 51, 249, 3, 69, 16, 141, 132, 56, 130, 126, 83, 247, 193, 192, 6, 3, 195, 139, 249, 131, 247, 255, 11, 248, 51, 251, 3, 85, 44, 141, 148, 58, 53, 242, 58, 189, 193, 194, 10, 3, 208, 139, 251, 131, 247, 255, 11, 250, 51, 248, 3, 77, 8, 141, 140, 57, 187, 210, 215, 42, 193, 193, 15, 3, 202, 139, 248, 131, 247, 255, 11, 249, 51, 250, 3, 93, 36, 141, 156, 59, 145, 211, 134, 235, 193, 195, 21, 3, 217, 1, 6, 1, 94, 4, 1, 78, 8, 1, 86, 12, 97, 195, 232, 0, 0, 0, 0, 91, 129, 235, 214, 5, 0, 0, 137, 93, 248 })
置入代码 ({ 139, 69, 252, 131, 192, 8, 137, 69, 240, 131, 192, 16, 137, 69, 236, 141, 88, 4, 137, 93, 232, 54, 141, 88, 8, 137, 93, 228, 139, 93, 8, 139, 27, 141, 115, 8, 139, 91, 4, 137, 93, 244, 1, 24, 235, 61, 62, 139, 69, 232, 139, 0, 185, 64, 0, 0, 0, 43, 200, 139, 125, 228, 3, 248, 59, 203, 119, 28, 43, 217, 243, 164, 255, 85, 248, 51, 192, 81, 139, 77, 232, 137, 1, 89, 139, 125, 228, 185, 16, 0, 0, 0, 243, 171, 235, 11, 139, 203, 243, 164, 139, 69, 232, 1, 24, 235, 4, 11, 219, 117, 191, 139, 69, 228, 141, 72, 56, 137, 77, 244, 139, 77, 232, 139, 9, 198, 4, 8, 128, 131, 249, 56, 114, 24, 255, 85, 248, 139, 69, 232, 199, 0, 0, 0, 0, 0, 51, 192, 139, 125, 228, 185, 16, 0, 0, 0, 243, 171, 139, 69, 236, 139, 0, 51, 210, 15, 164, 194, 3, 193, 224, 3, 81, 139, 77, 244, 137, 1, 131, 193, 4, 137, 17, 89, 255, 85, 248 })
' 返回 (取字节集左边 (过程数据, 16))  ' 如果只是要字节集就从这里返回,并且把返回类型改成字节集。
置入代码 ({ 232, 0, 0, 0, 0, 91, 131, 195, 9, 233, 0, 2, 0, 0, 48, 48, 48, 49, 48, 50, 48, 51, 48, 52, 48, 53, 48, 54, 48, 55, 48, 56, 48, 57, 48, 65, 48, 66, 48, 67, 48, 68, 48, 69, 48, 70, 49, 48, 49, 49, 49, 50, 49, 51, 49, 52, 49, 53, 49, 54, 49, 55, 49, 56, 49, 57, 49, 65, 49, 66, 49, 67, 49, 68, 49, 69, 49, 70, 50, 48, 50, 49, 50, 50, 50, 51, 50, 52, 50, 53, 50, 54, 50, 55, 50, 56, 50, 57, 50, 65, 50, 66, 50, 67, 50, 68, 50, 69, 50, 70, 51, 48, 51, 49, 51, 50, 51, 51, 51, 52, 51, 53, 51, 54, 51, 55, 51, 56, 51, 57, 51, 65, 51, 66, 51, 67, 51, 68, 51, 69, 51, 70, 52, 48, 52, 49, 52, 50, 52, 51, 52, 52, 52, 53, 52, 54, 52, 55, 52, 56, 52, 57, 52, 65, 52, 66, 52, 67, 52, 68, 52, 69, 52, 70, 53, 48, 53, 49, 53, 50, 53, 51, 53, 52, 53, 53, 53, 54, 53, 55, 53, 56, 53, 57, 53, 65, 53, 66, 53, 67, 53, 68, 53, 69, 53, 70, 54, 48, 54, 49, 54, 50, 54, 51, 54, 52, 54, 53, 54, 54, 54, 55, 54, 56, 54, 57, 54, 65, 54, 66, 54, 67, 54, 68, 54, 69, 54, 70, 55, 48, 55, 49, 55, 50, 55, 51, 55, 52, 55, 53, 55, 54, 55, 55, 55, 56, 55, 57, 55, 65, 55, 66, 55, 67, 55, 68, 55, 69, 55, 70, 56, 48, 56, 49, 56, 50, 56, 51, 56, 52, 56, 53, 56, 54, 56, 55, 56, 56, 56, 57, 56, 65, 56, 66, 56, 67, 56, 68, 56, 69, 56, 70, 57, 48, 57, 49, 57, 50, 57, 51, 57, 52, 57, 53, 57, 54, 57, 55, 57, 56, 57, 57, 57, 65, 57, 66, 57, 67, 57, 68, 57, 69, 57, 70, 65, 48, 65, 49, 65, 50, 65, 51, 65, 52, 65, 53, 65, 54, 65, 55, 65, 56, 65, 57, 65, 65, 65, 66, 65, 67, 65, 68, 65, 69, 65, 70, 66, 48, 66, 49, 66, 50, 66, 51, 66, 52, 66, 53, 66, 54, 66, 55, 66, 56, 66, 57, 66, 65, 66, 66, 66, 67, 66, 68, 66, 69, 66, 70, 67, 48, 67, 49, 67, 50, 67, 51, 67, 52, 67, 53, 67, 54, 67, 55, 67, 56, 67, 57, 67, 65, 67, 66, 67, 67, 67, 68, 67, 69, 67, 70, 68, 48, 68, 49, 68, 50, 68, 51, 68, 52, 68, 53, 68, 54, 68, 55, 68, 56, 68, 57, 68, 65, 68, 66, 68, 67, 68, 68, 68, 69, 68, 70, 69, 48, 69, 49, 69, 50, 69, 51, 69, 52, 69, 53, 69, 54, 69, 55, 69, 56, 69, 57, 69, 65, 69, 66, 69, 67, 69, 68, 69, 69, 69, 70, 70, 48, 70, 49, 70, 50, 70, 51, 70, 52, 70, 53, 70, 54, 70, 55, 70, 56, 70, 57, 70, 65, 70, 66, 70, 67, 70, 68, 70, 69, 70, 70, 139, 117, 240, 131, 198, 15, 141, 126, 17, 185, 8, 0, 0, 0, 198, 7, 0, 51, 192, 138, 6, 78, 209, 224, 102, 139, 20, 24, 193, 226, 16, 51, 192, 138, 6, 78, 209, 224, 102, 139, 20, 24, 131, 239, 4, 137, 23, 73, 127, 223 })
返回 (到文本 (过程数据))

补充内容 (2024-12-10 03:53):
精易的才5k/s
回复

使用道具 举报

结帖率:0% (0/2)

签到天数: 5 天

 楼主| 发表于 2024-12-10 13:41:50 | 显示全部楼层   重庆市重庆市

MD5循环计算真的快了很多,但是运行完毕后程序要假死一段时间是怎么回事呢,有办法解决吗?
回复

使用道具 举报

签到天数: 15 天

发表于 2024-12-10 15:05:27 | 显示全部楼层   四川省宜宾市
agasybin 发表于 2024-12-10 13:41
MD5循环计算真的快了很多,但是运行完毕后程序要假死一段时间是怎么回事呢,有办法解决吗? ...

1.e (23.74 KB, 下载次数: 4)
回复

使用道具 举报

结帖率:0% (0/2)

签到天数: 5 天

 楼主| 发表于 2024-12-10 16:57:30 | 显示全部楼层   重庆市重庆市

大佬,还是假死卡顿
回复

使用道具 举报

结帖率:0% (0/2)

签到天数: 5 天

 楼主| 发表于 2024-12-10 17:02:44 | 显示全部楼层   重庆市重庆市
多线程的速度好像要慢些,运行程序时如果有其它操作就卡住了,是不是跟释放内存之类的有关系呢
回复

使用道具 举报

签到天数: 15 天

发表于 2024-12-10 17:13:17 | 显示全部楼层   四川省宜宾市
agasybin 发表于 2024-12-10 17:02
多线程的速度好像要慢些,运行程序时如果有其它操作就卡住了,是不是跟释放内存之类的有关系呢 ...

额,你的问题我已经解决了,你说的因为其他多线程之类繁杂的因素导致的我就不知道了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 致发广告者

发布主题 收藏帖子 返回列表

sitemap| 易语言源码| 易语言教程| 易语言论坛| 易语言模块| 手机版| 广告投放| 精易论坛
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论,本站内容均为会员发表,并不代表精易立场!
论坛帖子内容仅用于技术交流学习和研究的目的,严禁用于非法目的,否则造成一切后果自负!如帖子内容侵害到你的权益,请联系我们!
防范网络诈骗,远离网络犯罪 违法和不良信息举报电话0663-3422125,QQ: 793400750,邮箱:wp@125.la
网站简介:精易论坛成立于2009年,是一个程序设计学习交流技术论坛,隶属于揭阳市揭东区精易科技有限公司所有。
Powered by Discuz! X3.4 揭阳市揭东区精易科技有限公司 ( 粤ICP备12094385号-1) 粤公网安备 44522102000125 增值电信业务经营许可证 粤B2-20192173

快速回复 返回顶部 返回列表