#include <string>
#include <vector>
Go to the source code of this file.
|
std::string | Roar::base64Encode (std::vector< unsigned char > const &data) |
| Encode vector in base64.
|
|
std::string | Roar::base64Encode (std::string const &str) |
| Encode string in base64.
|
|
std::string | Roar::base64Decode (std::string const &base64String) |
| Decode base64 to string.
|
|
std::string | Roar::base64Decode (std::string_view base64String) |
| Decode base64 to string.
|
|
std::string | Roar::base64UrlEncode (std::vector< unsigned char > const &data, bool includePadding=false) |
| encodes data using base64url algorithm, which is similar to base64, but uses - and _ instead of + and /.
|
|
std::vector< unsigned char > | Roar::base64UrlDecode (std::string_view const &base64String) |
| Reverses the base64url encoding.
|
|