blob: 8a34a4e1d9a8422759b8a54e8b103303bdb87da8 (
plain)
1
2
3
4
5
6
7
8
|
#include <xmpp/auth.hpp>
#include <utils/sha1.hpp>
std::string get_handshake_digest(const std::string& stream_id, const std::string& secret)
{
return sha1(stream_id + secret);
}
|