2015-02-05 12:55:48 +00:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
|
class CryptoBase {
|
|
|
|
|
public:
|
|
|
|
|
static std::string BinToHex(const std::string& bin);
|
2015-02-05 13:02:42 +00:00
|
|
|
static void GenKey(std::string* key);
|
|
|
|
|
static void GenKeyPair(std::string* secret_key, std::string* public_key);
|
2015-02-05 12:55:48 +00:00
|
|
|
};
|