Functions | |
void | calc (void const *src, size_t bytelength, unsigned char *hash) |
Calculate a SHA1 hash. More... | |
|
inline |
Calculate a SHA1 hash.
src | points to any kind of data to be hashed. |
bytelength | the number of bytes to hash from the src pointer. |
hash | should point to a buffer of at least 20 bytes of size for storing the sha1 result in. |
Definition at line 127 of file sha1.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), and websocketpp::processor::hybi13< stub_config >::process_handshake_key().