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:
parent
4a64da310b
commit
dcde774eac
2 changed files with 14 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue