6 #ifndef CRYPTOPP_BASECODE_H 7 #define CRYPTOPP_BASECODE_H 24 : m_alphabet(NULL), m_padding(0), m_bitsPerChar(0)
25 , m_outputBlockSize(0), m_bytePos(0), m_bitPos(0)
36 : m_alphabet(NULL), m_padding(0), m_bitsPerChar(0)
37 , m_outputBlockSize(0), m_bytePos(0), m_bitPos(0)
40 IsolatedInitialize(
MakeParameters(Name::EncodingLookupArray(), alphabet)
41 (Name::Log2Base(), log2base)
42 (Name::Pad(), padding != -1)
43 (Name::PaddingByte(),
byte(padding)));
47 size_t Put2(
const byte *begin,
size_t length,
int messageEnd,
bool blocking);
66 : m_lookup(0), m_padding(0), m_bitsPerChar(0)
67 , m_outputBlockSize(0), m_bytePos(0), m_bitPos(0)
79 : m_lookup(0), m_padding(0), m_bitsPerChar(0)
80 , m_outputBlockSize(0), m_bytePos(0), m_bitPos(0)
83 IsolatedInitialize(
MakeParameters(Name::DecodingLookupArray(), lookup)(Name::Log2Base(), log2base));
87 size_t Put2(
const byte *begin,
size_t length,
int messageEnd,
bool blocking);
99 static void CRYPTOPP_API InitializeDecodingLookupArray(
int *lookup,
const byte *alphabet,
unsigned int base,
bool caseInsensitive);
116 : m_groupSize(0), m_counter(0) {Detach(attachment);}
124 : m_groupSize(0), m_counter(0)
133 size_t Put2(
const byte *begin,
size_t length,
int messageEnd,
bool blocking);
Used to pass byte array input as part of a NameValuePairs object.
Standard names for retrieving values by name when working with NameValuePairs.
Classes for working with NameValuePairs.
#define NAMESPACE_BEGIN(x)
Grouper(BufferedTransformation *attachment=NULL)
Construct a Grouper.
Grouper(int groupSize, const std::string &separator, const std::string &terminator, BufferedTransformation *attachment=NULL)
Construct a Grouper.
Abstract base classes that provide a uniform interface to this library.
BaseN_Encoder(BufferedTransformation *attachment=NULL)
Construct a BaseN_Encoder.
SecByteBlock m_terminator
BaseN_Decoder(BufferedTransformation *attachment=NULL)
Construct a BaseN_Decoder.
AlgorithmParameters MakeParameters(const char *name, const T &value, bool throwIfNotUsed=true)
Create an object that implements NameValuePairs.
BaseN_Decoder(const int *lookup, int log2base, BufferedTransformation *attachment=NULL)
Construct a BaseN_Decoder.
Implementation of BufferedTransformation's attachment interface.
BaseN_Encoder(const byte *alphabet, int log2base, BufferedTransformation *attachment=NULL, int padding=-1)
Construct a BaseN_Encoder.
Base class for unflushable filters.
Implementation of BufferedTransformation's attachment interface.
Filter that breaks input stream into groups of fixed size.
std::vector< char * > parameters
Encoder for bases that are a power of 2.
Decoder for bases that are a power of 2.
Base class for bufferless filters.
Interface for retrieving values given their names.