md5

作者: SKAN 最近更新时间: 20090618


Computes and returns MD5 hash ( RFC1321 Specification ) for memory variables and for a File passed as parameter, with speeds comparable to Hashes.DLL.

MD5( ByRef V, L=0 )
MD5_File( sFile="", cSz=4 )

关于函数的参数和返回值, 请参阅其源码或 此文档.

备注

The functions are manually packed as a stdlib conform ahk library. The documentation is part of authors original post.

关于此函数(集)的更新细节和注意事项, 请参见 AutoHotkey 论坛: http://www.autohotkey.com/forum/viewtopic.php?p=275910#275910

许可

不存在

示例

; #Include md5.ahk
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%

MsgBox,, MD5_File(), % A_AhkPath . ":`n`n" . MD5_File( A_AhkPath )

V := "The quick brown fox jumps over the lazy dog"
L := StrLen(V)
MsgBox,, MD5(), % V . ":`n`n" . MD5( V,L )