The Battle for Wesnoth  1.15.12+dev
crypt64 Namespace Reference


std::vector< uint8_t > decode (std::string_view in)
std::string encode (utils::byte_string_view bytes)
int decode (char encoded_char)
char encode (int value)

Function Documentation

◆ decode() [1/2]

std::vector< uint8_t > crypt64::decode ( std::string_view  in)

Definition at line 225 of file base64.cpp.

Referenced by BOOST_AUTO_TEST_CASE(), and utils::md5::get_iteration_count().

◆ decode() [2/2]

int crypt64::decode ( char  encoded_char)

Definition at line 233 of file base64.cpp.

◆ encode() [1/2]

std::string crypt64::encode ( utils::byte_string_view  bytes)

Definition at line 229 of file base64.cpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ encode() [2/2]

char crypt64::encode ( int  value)

Definition at line 238 of file base64.cpp.