> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/adk-5.0-programmers-guide/md5_8h_source.md).

# md5.h

[Go to the documentation of this file.](/adk-5.0-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/md5_8h.md)

```cpp
 1 /* MD5.H - header file for MD5C.C
 2  */
 3 
 4 /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
 5 rights reserved.
 6 
 7 License to copy and use this software is granted provided that it
 8 is identified as the "RSA Data Security, Inc. MD5 Message-Digest
 9 Algorithm" in all material mentioning or referencing this software
 10 or this function.
 11 
 12 License is also granted to make and use derivative works provided
 13 that such works are identified as "derived from the RSA Data
 14 Security, Inc. MD5 Message-Digest Algorithm" in all material
 15 mentioning or referencing the derived work.
 16 
 17 RSA Data Security, Inc. makes no representations concerning either
 18 the merchantability of this software or the suitability of this
 19 software for any particular purpose. It is provided "as is"
 20 without express or implied warranty of any kind.
 21 These notices must be retained in any copies of any part of this
 22 documentation and/or software.
 23  */
 24 
 25 #include <stdint.h>
 26 
 27 namespace sdi
 28 {
 29 
 33  typedef struct
 34  {
 35  uint32_t state[4];
 36  uint32_t count[2];
 37  unsigned char buffer[64];
 38  } MD5_CTX;
 39 
 40  /* RFC 1321 */
 41  void MD5Init(MD5_CTX *);
 42  void MD5Update(MD5_CTX *, const unsigned char *, unsigned int);
 43  void MD5Final(unsigned char [16], MD5_CTX *);
 44 
 45 } // namespace sdi
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/adk-5.0-programmers-guide/md5_8h_source.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
