1 #ifndef CRYPTOPP_BASECODE_H
2 #define CRYPTOPP_BASECODE_H
8 NAMESPACE_BEGIN(CryptoPP)
20 IsolatedInitialize(MakeParameters(Name::EncodingLookupArray(), alphabet)
21 (Name::Log2Base(), log2base)
22 (Name::Pad(), padding != -1)
23 (Name::PaddingByte(), byte(padding)));
27 size_t Put2(
const byte *begin,
size_t length,
int messageEnd,
bool blocking);
30 const byte *m_alphabet;
31 int m_padding, m_bitsPerChar, m_outputBlockSize;
32 int m_bytePos, m_bitPos;
46 IsolatedInitialize(MakeParameters(Name::DecodingLookupArray(), lookup)(Name::Log2Base(), log2base));
50 size_t Put2(
const byte *begin,
size_t length,
int messageEnd,
bool blocking);
52 static void CRYPTOPP_API InitializeDecodingLookupArray(
int *lookup,
const byte *alphabet,
unsigned int base,
bool caseInsensitive);
56 int m_padding, m_bitsPerChar, m_outputBlockSize;
57 int m_bytePos, m_bitPos;
71 IsolatedInitialize(MakeParameters(Name::GroupSize(), groupSize)
77 size_t Put2(
const byte *begin,
size_t length,
int messageEnd,
bool blocking);
81 size_t m_groupSize, m_counter;
used to pass byte array input as part of a NameValuePairs object
provides an implementation of BufferedTransformation's attachment interface
filter that breaks input stream into groups of fixed size
base n encoder, where n is a power of 2
base n decoder, where n is a power of 2
interface for retrieving values given their names