Crypto++
5.6.5
Free C++ class library of cryptographic schemes
|
10 const byte s_vecUpper[] =
"ABCDEFGHIJKMNPQRSTUVWXYZ23456789";
11 const byte s_vecLower[] =
"abcdefghijkmnpqrstuvwxyz23456789";
19 MakeParameters(Name::EncodingLookupArray(), uppercase ? &s_vecUpper[0] : &s_vecLower[0],
false)(Name::Log2Base(), 5,
true)));
26 MakeParameters(Name::DecodingLookupArray(), GetDefaultDecodingLookupArray(),
false)(Name::Log2Base(), 5,
true)));
29 const int *Base32Decoder::GetDefaultDecodingLookupArray()
31 static volatile bool s_initialized =
false;
32 static int s_array[256];
void IsolatedInitialize(const NameValuePairs ¶meters)
Initialize or reinitialize this object, without signal propagation.
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.
void IsolatedInitialize(const NameValuePairs ¶meters)
Initialize or reinitialize this object, without signal propagation.
Crypto++ library namespace.
Classes for Base32Encoder and Base32Decoder.
void IsolatedInitialize(const NameValuePairs ¶meters)
Initialize or reinitialize this object, without signal propagation.
Combines two sets of NameValuePairs.
Interface for retrieving values given their names.