24 HexEncoder(
BufferedTransformation *attachment = NULLPTR,
bool uppercase =
true,
int groupSize = 0,
const std::string &separator =
":",
const std::string &terminator =
"")
40 :
BaseN_Decoder(GetDefaultDecodingLookupArray(), 4, attachment) {}
45 static const int * CRYPTOPP_API GetDefaultDecodingLookupArray();
Used to pass byte array input as part of a NameValuePairs object.
const char * Uppercase()
bool
Converts given data to base 16.
Decode base 16 data back to bytes.
Abstract base classes that provide a uniform interface to this library.
const char * Separator()
ConstByteArrayParameter.
HexEncoder(BufferedTransformation *attachment=NULL, bool uppercase=true, int groupSize=0, const std::string &separator=":", const std::string &terminator="")
Construct a HexEncoder.
void IsolatedInitialize(const NameValuePairs ¶meters)
Initialize or reinitialize this object, without signal propagation.
AlgorithmParameters MakeParameters(const char *name, const T &value, bool throwIfNotUsed=true)
Create an object that implements NameValuePairs.
Proxy filter that doesn't modify the underlying filter's input or output.
HexDecoder(BufferedTransformation *attachment=NULL)
Construct a HexDecoder.
const char * GroupSize()
int
const char * Terminator()
ConstByteArrayParameter.
Filter that breaks input stream into groups of fixed size.
Crypto++ library namespace.
Encoder for bases that are a power of 2.
Base classes for working with encoders and decoders.
Decoder for bases that are a power of 2.
Interface for retrieving values given their names.