Hash functions for data integrity. More...
Functions | |
| MD5Digest | md5 (const void *data, size_t len) |
| Computes the MD5 hash of a block of data. | |
| SHA1Digest | sha1 (const void *data, size_t len) |
| Computes the SHA-1 hash of a block of data. | |
Hash functions for data integrity.
MD5 and SHA-1 implementations for checksums and content addressing. Not intended for security-critical use.
Computes the MD5 hash of a block of data.
| data | Pointer to the input data. |
| len | Length of the input data in bytes. |
| SHA1Digest sha1 | ( | const void * | data, |
| size_t | len | ||
| ) |
Computes the SHA-1 hash of a block of data.
| data | Pointer to the input data. |
| len | Length of the input data in bytes. |