Go to the source code of this file.
Defines | |
#define | SHA_ROTL(X, n) (((X) << (n)) | ((X) >> (32-(n)))) |
Functions | |
void | shaHashBlock (SHA_CTX *ctx) |
void | shaInit (SHA_CTX *ctx) |
void | shaUpdate (SHA_CTX *ctx, unsigned char *dataIn, int len) |
void | shaFinal (SHA_CTX *ctx, unsigned char hashout[20]) |
void | shaBlock (unsigned char *dataIn, int len, unsigned char hashout[20]) |
char * | shahash (char *str) |
void | shahash_r (const char *str, char hashbuf[41]) |
Calculate the SHA of a string. |
Definition in file sha.c.
|
Calculate the SHA of a string.
|