Add gen-key for shared secret key generation

This commit is contained in:
Ian Gulliver
2015-02-05 13:02:42 +00:00
parent d37b9a7e41
commit b396ad3317
4 changed files with 43 additions and 4 deletions

View File

@@ -3,5 +3,6 @@
class CryptoBase {
public:
static std::string BinToHex(const std::string& bin);
static void GenKeyPair(std::string* sk, std::string* pk);
static void GenKey(std::string* key);
static void GenKeyPair(std::string* secret_key, std::string* public_key);
};