#include <jabberdlib.h>

Public Member Functions | |
| sha1 () | |
| void | update (const std::string &data) |
| void | update (const std::vector< uint8_t > data) |
| std::vector< uint8_t > | final () |
| xmppd::sha1::sha1 | ( | ) |
construct a SHA-1 hashing instance
| void xmppd::sha1::update | ( | const std::string & | data | ) | [virtual] |
add data to what the hash should be calculated for
| data | the data that should get added |
Implements xmppd::hash.
Referenced by final(), shaBlock(), and shahash_r().
| void xmppd::sha1::update | ( | const std::vector< uint8_t > | data | ) |
| std::vector< uint8_t > xmppd::sha1::final | ( | ) | [virtual] |
signal that all data has been added and request the hash
Implements xmppd::hash.
References update().
Referenced by shaBlock().
1.5.5