Functions | |
static bool | is_base64 (unsigned char c) |
bool | base64_is_valid (std::string_view s) |
std::string | base64_encode (std::string_view s) |
std::string | base64_decode (std::string_view encoded_string) |
Variables | |
static const std::string | base64_chars |
static const std::string | base64_chars_padding_1 = "AEIMQUYcgkosw048" |
static const std::string | base64_chars_padding_2 = "AQgw" |
std::string base64_decode | ( | std::string_view | encoded_string | ) |
References base64_chars, and is_base64().
Referenced by decode_srp_verifier_and_salt(), ImageSource::generateImagePart(), Server::getMediaList(), Client::handleCommand_AnnounceMedia(), and ModApiUtil::l_decode_base64().
std::string base64_encode | ( | std::string_view | s | ) |
References base64_chars.
Referenced by Server::addMediaFile(), encode_srp_verifier(), ModApiUtil::l_encode_base64(), and translate_password().
bool base64_is_valid | ( | std::string_view | s | ) |
References base64_chars_padding_1, base64_chars_padding_2, and is_base64().
Referenced by decode_srp_verifier_and_salt(), ImageSource::generateImagePart(), Server::handleCommand_Init(), ModApiUtil::l_check_password_entry(), ModApiUtil::l_decode_base64(), and TestUtilities::testBase64().
|
inlinestatic |
|
static |
Referenced by base64_decode(), and base64_encode().
|
static |
Referenced by base64_is_valid().
|
static |
Referenced by base64_is_valid().