|
jabberd14 1.6.2
|
#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 () |
the SHA-1 hashing algorithm
| xmppd::sha1::sha1 | ( | ) |
construct a SHA-1 hashing instance
| 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().
| 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 | ) |
add data to what the hash should be calculated for
| data | the data that should get added |
1.7.4