aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-09-30 05:04:26 -0700
committerGavin Andresen <gavinandresen@gmail.com>2011-09-30 05:04:26 -0700
commitf4769e44a326f61bdf47fa39346e1293b97e31c4 (patch)
treee8980ee2a5dab3a1a2f1f8ac9cb83c8c0e8e0e9c /src/util.h
parente297ea999e15445fa8385597f03aa621ba479d18 (diff)
parent3a570dc80a7391b7f3943cb83849055318e0217a (diff)
Merge pull request #524 from sipa/signandverif
Sign and verify message with bitcoin address
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 60e99431b1..f0b2f4a71c 100644
--- a/src/util.h
+++ b/src/util.h
@@ -178,6 +178,10 @@ bool ParseMoney(const std::string& str, int64& nRet);
bool ParseMoney(const char* pszIn, int64& nRet);
std::vector<unsigned char> ParseHex(const char* psz);
std::vector<unsigned char> ParseHex(const std::string& str);
+std::vector<unsigned char> DecodeBase64(const char* p, bool* pfInvalid = NULL);
+std::string DecodeBase64(const std::string& str);
+std::string EncodeBase64(const unsigned char* pch, size_t len);
+std::string EncodeBase64(const std::string& str);
void ParseParameters(int argc, char* argv[]);
const char* wxGetTranslation(const char* psz);
bool WildcardMatch(const char* psz, const char* mask);