GME
13
|
APR-UTIL SHA1 library. More...
Go to the source code of this file.
Classes | |
struct | apr_sha1_ctx_t |
Defines | |
#define | APR_SHA1_DIGESTSIZE 20 |
#define | APR_SHA1PW_ID "{SHA}" |
#define | APR_SHA1PW_IDLEN 5 |
Typedefs | |
typedef struct apr_sha1_ctx_t | apr_sha1_ctx_t |
Functions | |
APU_DECLARE (void) apr_sha1_base64(const char *clear | |
Variables | |
int | len |
int char * | out |
const char * | input |
const char unsigned int | inputLen |
apr_sha1_ctx_t * | context |
APR-UTIL SHA1 library.
Definition in file apr_sha1.h.
#define APR_SHA1_DIGESTSIZE 20 |
size of the SHA1 DIGEST
Definition at line 39 of file apr_sha1.h.
#define APR_SHA1PW_ID "{SHA}" |
Define the Magic String prefix that identifies a password as being hashed using our algorithm.
Definition at line 45 of file apr_sha1.h.
#define APR_SHA1PW_IDLEN 5 |
length of the SHA Password
Definition at line 48 of file apr_sha1.h.
typedef struct apr_sha1_ctx_t apr_sha1_ctx_t |
Definition at line 51 of file apr_sha1.h.
APU_DECLARE | ( | void | ) | const |
Provide a means to SHA1 crypt/encode a plaintext password in a way which makes password file compatible with those commonly use in netscape web and ldap installations.
clear | The plaintext password |
len | The length of the plaintext password |
out | The encrypted/encoded password |
Initialize the SHA digest
context | The SHA context to initialize |
Update the SHA digest
context | The SHA1 context to update |
input | The buffer to add to the SHA digest |
inputLen | The length of the input buffer |
Update the SHA digest with binary data
context | The SHA1 context to update |
input | The buffer to add to the SHA digest |
inputLen | The length of the input buffer |
Finish computing the SHA digest
digest | the output buffer in which to store the digest |
context | The context to finalize |
Definition at line 115 of file apr_sha1.h.
const unsigned char* input |
Definition at line 96 of file apr_sha1.h.
Definition at line 96 of file apr_sha1.h.
Definition at line 82 of file apr_sha1.h.
Definition at line 82 of file apr_sha1.h.