Hash count bytes at data in one shot and write the digest to md.
Synopsis
Declared in <openssl/evp.h>
int
EVP_Digest(
void const* data,
size_t count,
unsigned char* md,
unsigned int* size,
EVP_MD const* type,
ENGINE* impl);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
data |
Input bytes to hash. |
count |
Number of bytes at |
md |
Output buffer for the digest; at most EVP_MAX_MD_SIZE bytes are written. |
size |
Optional destination for the digest length in bytes, or NULL. |
type |
Digest algorithm to use. |
impl |
Optional ENGINE providing |
Created with MrDocs