5 SHA1 - Compute SHA1 hash
9 #include <openssl/sha.h>
11 unsigned char *SHA1(const unsigned char *d, unsigned long n,
16 SHA1() computes the SHA-1 message digest of the B<n> bytes at B<d> and
17 places it in B<md> (which must have space for SHA_DIGEST_LENGTH == 20
18 bytes of output). If B<md> is NULL, the digest is placed in a static
21 L<SHA1_Init(3)|SHA1_Init(3)> may be used if the message is not completely
26 SHA1() returns a pointer to the hash value.
30 SHA1() is available in all versions of SSLeay and OpenSSL.
34 sha(3), ripemd(3), SHA1_Init(3)