A2osX/.Docs/LIBCRYPT.md

50 lines
696 B
Markdown
Raw Normal View History

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