Home --> Documentations --> PJLIB-UTIL Reference

Data Structures | Macros | Functions
sha1.h File Reference

SHA1 encryption implementation. More...

Go to the source code of this file.

Data Structures

struct  pj_sha1_context


#define PJ_SHA1_DIGEST_SIZE   20


void pj_sha1_init (pj_sha1_context *ctx)
void pj_sha1_update (pj_sha1_context *ctx, const pj_uint8_t *data, const pj_size_t nbytes)
void pj_sha1_final (pj_sha1_context *ctx, pj_uint8_t digest[20])

Detailed Description

SHA1 encryption implementation.


PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
Copyright (C) 2006-2009 Teluu Inc.