Lines Matching defs:digest
905 * lua_apr_md5; r:md5(string) - Calculates an MD5 digest of a string
923 * lua_apr_sha1; r:sha1(string) - Calculates the SHA1 digest of a string
927 unsigned char digest[APR_SHA1_DIGESTSIZE];
936 result = apr_pcalloc(r->pool, sizeof(digest) * 2 + 1);
940 apr_sha1_final(digest, &sha1);
942 ap_bin2hex(digest, sizeof(digest), result);
2141 unsigned char digest[APR_SHA1_DIGESTSIZE];
2154 apr_sha1_final(digest, &sha1);
2158 encoded_len = apr_base64_encode(encoded, (char*) digest, APR_SHA1_DIGESTSIZE);