Go to the source code of this file.
|
void | sha1::calc (const void *src, const int bytelength, unsigned char *hash) |
| Calculate the SHA1 hash of some data set. More...
|
|
void | sha1::toHexString (const unsigned char *hash, char *hexstring) |
| Calculate a string which represents the SHA1 hash as a hexadecimal number. More...
|
|
◆ sha1macro
#define sha1macro |
( |
|
func, |
|
|
|
val |
|
) |
| |
Value: { \
const
unsigned int t = rol(a, 5) + (func) + e + val +
w[round]; \
d = c; \
c = rol(b, 30); \
b = a; \
a = t; \
}
std::vector< double > w(NPUPPER)
std::vector< double > d(NPUPPER *NPUPPER)