Crypto++
5.6.4
Free C++ class library of cryptographic schemes
|
5 #ifndef CRYPTOPP_IMPORTS
11 static const byte s_vecUpper[] =
"0123456789ABCDEF";
12 static const byte s_vecLower[] =
"0123456789abcdef";
19 MakeParameters(Name::EncodingLookupArray(), uppercase ? &s_vecUpper[0] : &s_vecLower[0],
false)(Name::Log2Base(), 4,
true)));
26 MakeParameters(Name::DecodingLookupArray(), GetDefaultDecodingLookupArray(),
false)(Name::Log2Base(), 4,
true)));
29 const int *HexDecoder::GetDefaultDecodingLookupArray()
31 static volatile bool s_initialized =
false;
32 static int s_array[256];
T GetValueWithDefault(const char *name, T defaultValue) const
Get a named value.
AlgorithmParameters MakeParameters(const char *name, const T &value, bool throwIfNotUsed=true)
Create an object that implements NameValuePairs.
static void InitializeDecodingLookupArray(int *lookup, const byte *alphabet, unsigned int base, bool caseInsensitive)
Intializes BaseN lookup array.
Classes for HexEncoder and HexDecoder.
void IsolatedInitialize(const NameValuePairs ¶meters)
Initialize or reinitialize this object, without signal propagation.
void IsolatedInitialize(const NameValuePairs ¶meters)
Initialize or reinitialize this object, without signal propagation.
Crypto++ library namespace.
Combines two sets of NameValuePairs.
Interface for retrieving values given their names.
void IsolatedInitialize(const NameValuePairs ¶meters)
Initialize or reinitialize this object, without signal propagation.