gsasl_sha13
Api function
Usage
#include <gsasl.h>
int gsasl_sha1(const char * in, size_t inlen, char * [] out);
Arguments
const char * in
|
input character array of data to hash. |
|---|---|
size_t inlen
|
length of input character array of data to hash. |
char * [] out
|
newly allocated 20-byte character array with hash of data. |
Overview
Compute hash of data using SHA1. The out buffer must be deallocated by the caller.
Return value: Returns GSASL_OK iff successful.
Since
1.3
Deprecated
Use a crypto library.
Releases
6 releases since Debian 6.0 (Squeeze); the text changed 2 times.