A2osX/.Docs/LIBCRYPT.md
2018-10-11 17:23:06 +02:00

54 lines
732 B
Markdown

*** Auto generated by docgen.cmd ***
## MD5
Return MD5 Hash for input String
# C
`void md5 (const char* str, char* digest);`
# ASM
**In:**
`>PUSHW digest`
`>LDYA str`
## RETURN VALUE
CC
## MD5Init
Initialize a MD5 computation
# C
`HANDLE md5init ();`
# ASM
**In:**
## RETURN VALUE
A = hMem To S.MD5
## MD5Update
Add Data to MD5 computation
# C
`int md5update (HANDLE md5, char* data, int len);`
# ASM
**In:**
`>PUSHW len`
`>PUSHW data`
`>LDA.G md5`
## RETURN VALUE
## MD5Finalize
# C
`int md5finalize (HANDLE md5, char* digest);`
# ASM
**In:**
`>PUSHW digest`
`>LDA.G md5`
## RETURN VALUE