Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
SHA1, SHA1_Init, SHA1_Update, SHA1_Final, SHA224, SHA224_Init, SHA224_Update, SHA224_Final, SHA256, SHA256_Init, SHA256_Update, SHA256_Final, SHA384, SHA384_Init, SHA384_Update, SHA384_Final, SHA512, SHA512_Init, SHA512_Update, SHA512_Final — Secure Hash AlgorithmSYNOPSIS
#include <openssl/sha.h>SHA1(const unsigned char *d, size_t n, unsigned char *md);
SHA1_Init(SHA_CTX *c);
SHA1_Update(SHA_CTX *c, const void *data, size_t len);
SHA1_Final(unsigned char *md, SHA_CTX *c);
SHA224(const unsigned char *d, size_t n, unsigned char *md);
SHA224_Init(SHA256_CTX *c);
SHA224_Update(SHA256_CTX *c, const void *data, size_t len);
SHA224_Final(unsigned char *md, SHA256_CTX *c);
SHA256(const unsigned char *d, size_t n, unsigned char *md);
SHA256_Init(SHA256_CTX *c);
SHA256_Update(SHA256_CTX *c, const void *data, size_t len);
SHA256_Final(unsigned char *md, SHA256_CTX *c);
SHA384(const unsigned char *d, size_t n, unsigned char *md);
SHA384_Init(SHA512_CTX *c);
SHA384_Update(SHA512_CTX *c, const void *data, size_t len);
SHA384_Final(unsigned char *md, SHA512_CTX *c);
SHA512(const unsigned char *d, size_t n, unsigned char *md);
SHA512_Init(SHA512_CTX *c);
SHA512_Update(SHA512_CTX *c, const void *data, size_t len);
SHA512_Final(unsigned char *md, SHA512_CTX *c);
DESCRIPTION
SHA-1 (Secure Hash Algorithm) is a cryptographic hash function with a 160-bit output.bytes at
data).