8 #ifndef BOTAN_HEX_CODEC_H__
9 #define BOTAN_HEX_CODEC_H__
11 #include <botan/secmem.h>
26 bool uppercase =
true);
37 bool uppercase =
true);
45 std::string BOTAN_DLL
hex_encode(
const MemoryRegion<byte>& input,
46 bool uppercase =
true);
64 size_t& input_consumed,
65 bool ignore_ws =
true);
79 bool ignore_ws =
true);
90 const std::string& input,
91 bool ignore_ws =
true);
101 SecureVector<byte> BOTAN_DLL
hex_decode(
const char input[],
103 bool ignore_ws =
true);
112 SecureVector<byte> BOTAN_DLL
hex_decode(
const std::string& input,
113 bool ignore_ws =
true);
size_t hex_decode(byte output[], const char input[], size_t input_length, size_t &input_consumed, bool ignore_ws)
void hex_encode(char output[], const byte input[], size_t input_length, bool uppercase)