~singpolyma/biboumi

ref: 99a4ddedaf903d27b781341108433ae2d9533ad1 biboumi/louloulibs/xmpp/auth.cpp -rw-r--r-- 182 bytes
99a4dded — louiz’ Remove the embedded sha1 code, and use one of botan or gcrypt 5 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);
}