Files
biboumi/src/xmpp/auth.cpp
T
louiz’ 0ab40dc1ab Refactoring louloulibs and cmake
Use OBJECT libraries
Remove the louloulibs directory
Write FOUND variables in the cache
2017-03-14 21:45:23 +01:00

9 lines
182 B
C++

#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);
}