The Battle for Wesnoth  1.19.0-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]

int crypt64::decode ( char  encoded_char)

Definition at line 239 of file base64.cpp.

◆ decode() [2/2]

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

Definition at line 231 of file base64.cpp.

References in.

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

◆ encode() [1/2]

char crypt64::encode ( int  value)

Definition at line 244 of file base64.cpp.

◆ encode() [2/2]

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

Definition at line 235 of file base64.cpp.

Referenced by BOOST_AUTO_TEST_CASE().