Refactor the sha1 digest into its own function, and do not use sprintf

This commit is contained in:
louiz’
2016-10-26 21:19:53 +02:00
parent 3fdae6b624
commit 021f025cb0
4 changed files with 37 additions and 14 deletions
+6
View File
@@ -0,0 +1,6 @@
#pragma once
#include <string>
std::string get_handshake_digest(const std::string& stream_id, const std::string& secret);