8#ifndef BOTAN_HEX_CODEC_H_
9#define BOTAN_HEX_CODEC_H_
11#include <botan/secmem.h>
24 const uint8_t input[],
26 bool uppercase = true);
37 bool uppercase = true);
45template<typename Alloc>
47 bool uppercase = true)
49 return hex_encode(input.data(), input.size(), uppercase);
68 size_t& input_consumed,
69 bool ignore_ws = true);
83 bool ignore_ws = true);
94 const
std::
string& input,
95 bool ignore_ws = true);
108 bool ignore_ws = true);
119 bool ignore_ws = true);
133 bool ignore_ws = true);
144 bool ignore_ws = true);
#define BOTAN_PUBLIC_API(maj, min)
secure_vector< uint8_t > hex_decode_locked(const char input[], size_t input_length, bool ignore_ws)
void hex_encode(char output[], const uint8_t input[], size_t input_length, bool uppercase)
size_t hex_decode(uint8_t output[], const char input[], size_t input_length, size_t &input_consumed, bool ignore_ws)
std::vector< T, secure_allocator< T > > secure_vector