021f025c louiz’ 99a4dded louiz’ 021f025c louiz’
6 years ago 6 years ago 6 years ago
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); }