#include "jabberdlib.h"
#include <string>
#include <vector>
#include <sstream>
#include <stdexcept>
Namespaces | |
| namespace | xmppd |
Functions | |
| void | shahash_r (const char *str, char hashbuf[41]) |
| char * | shahash (char const *str) |
| void | shaBlock (unsigned char *dataIn, int len, unsigned char hashout[20]) |
This file currently only implements the SHA-1 hashing algorithm. The implementation is based on the method 1 in RFC 3174.
| void shaBlock | ( | unsigned char * | dataIn, | |
| int | len, | |||
| unsigned char | hashout[20] | |||
| ) |
References xmppd::sha1::final(), and xmppd::sha1::update().
| char* shahash | ( | char const * | str | ) |
| void shahash_r | ( | const char * | str, | |
| char | hashbuf[41] | |||
| ) |
References xmppd::hash::final_hex(), and xmppd::sha1::update().
Referenced by dialback_randstr(), shahash(), and xstream_header().
1.5.5