📄 md5.asm
字号:
_MD5output proto:DWORD ,:DWORD ,:DWORD ,:DWORD
.code
;-------------------------------------------------------------------------------
;_Md5output
;求一段字节串的md5加密后密码
;参数
;lpOutput:输出结果的指针
;lpBuf:要求md5值的字节串
;nSize:lpBuf的大小
;bInt:指定输出结果是128位整数还是字符
; 如果为True,则表示是128位整数,lpOutout的大小最少为16个字节
; 如果为False,则结果是以\0结果的字符串,lpOutout的大小最少要为33个字节
;返回值:
;如果成功,返回值为lpOutout
;否则返回0
_MD5output proc lpOutout,lpBuf,nSize,bInt
.if hInstDll
invoke GetProcAddress,hInstDll,ctext("MD5output")
.if eax
push bInt
push nSize
push lpBuf
push lpOutout
call eax
mov eax,lpOutout
ret
.endif
.endif
mov BYTE ptr [lpOutout],0
xor eax,eax
ret
_MD5output endp
;---------------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -