Functions | |
static bool | is_base64 (unsigned char c) |
bool | base64_is_valid (std::string const &s) |
std::string | base64_encode (unsigned char const *bytes_to_encode, unsigned int in_len) |
std::string | base64_decode (std::string const &encoded_string) |
Variables | |
static const std::string | base64_chars |
std::string base64_decode | ( | std::string const & | encoded_string | ) |
References base64_chars, and is_base64().
Referenced by decode_srp_verifier_and_salt(), Client::handleCommand_AnnounceMedia(), and ModApiUtil::l_decode_base64().
std::string base64_encode | ( | unsigned char const * | bytes_to_encode, |
unsigned int | in_len | ||
) |
References base64_chars.
Referenced by Server::addMediaFile(), encode_srp_verifier(), ModApiUtil::l_encode_base64(), and translate_password().
bool base64_is_valid | ( | std::string const & | s | ) |
References is_base64().
Referenced by decode_srp_verifier_and_salt(), Server::handleCommand_Init(), ModApiUtil::l_check_password_entry(), and ModApiUtil::l_decode_base64().
|
inlinestatic |
|
static |
Referenced by base64_decode(), and base64_encode().