1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-20 09:56:45 +02:00

crypto/base58: adding is_base58() string version.

This commit is contained in:
Henrik Hautakoski 2020-02-26 15:07:03 +01:00
parent 4a64da310b
commit dcde774eac
2 changed files with 14 additions and 0 deletions

View file

@ -35,6 +35,10 @@ std::string base58_encode(const unsigned char* pbegin, const unsigned char* pend
bool is_base58(char ch);
// Returns std::string::npos if the string contains only base58 characters
// Otherwise the position of the first non base58 character is returned.
size_t is_base58(const std::string& str);
std::string& base58_strip(std::string& str);
} //namespace eoskeygen