MCPcopy Create free account
hub / github.com/albertobsd/keyhunt / isBase58

Function isBase58

keyhunt.cpp:6053–6058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6051}
6052
6053bool isBase58(char c) {
6054 // Define the base58 set
6055 const char base58Set[] = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
6056 // Check if the character is in the base58 set
6057 return strchr(base58Set, c) != NULL;
6058}
6059
6060bool isValidBase58String(char *str) {
6061 int len = strlen(str);

Callers 1

isValidBase58StringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected