Refactor the sha1 digest into its own function, and do not use sprintf
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
std::string get_handshake_digest(const std::string& stream_id, const std::string& secret);
|
||||
|
||||
Reference in New Issue
Block a user