md5.asm
来自「一个十六进制编辑器源代码,cool!」· 汇编 代码 · 共 35 行
ASM
35 行
_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 + =
减小字号Ctrl + -
显示快捷键?