gsasl_sha1(3)

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.

  1. 6.0
  2. 7–10
  3. 11

Reporting bugs

Report bugs to <[email protected]>.
General guidelines for reporting bugs: http://www.gnu.org/gethelp/
GNU SASL home page: http://www.gnu.org/software/gsasl/

From libgsasl-dev 1.10.0-4+deb11u1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.