6#ifndef CRYPTOPP_BASECODE_H
7#define CRYPTOPP_BASECODE_H
23 : m_alphabet(NULLPTR), m_padding(0), m_bitsPerChar(0)
24 , m_outputBlockSize(0), m_bytePos(0), m_bitPos(0)
35 : m_alphabet(NULLPTR), m_padding(0), m_bitsPerChar(0)
36 , m_outputBlockSize(0), m_bytePos(0), m_bitPos(0)
48 size_t Put2(
const byte *begin,
size_t length,
int messageEnd,
bool blocking);
51 const byte *m_alphabet;
52 int m_padding, m_bitsPerChar, m_outputBlockSize;
53 int m_bytePos, m_bitPos;
66 : m_lookup(NULLPTR), m_bitsPerChar(0)
67 , m_outputBlockSize(0), m_bytePos(0), m_bitPos(0)
79 : m_lookup(NULLPTR), m_bitsPerChar(0)
80 , m_outputBlockSize(0), m_bytePos(0), m_bitPos(0)
90 size_t Put2(
const byte *begin,
size_t length,
int messageEnd,
bool blocking);
106 int m_bitsPerChar, m_outputBlockSize;
107 int m_bytePos, m_bitPos;
118 : m_groupSize(0), m_counter(0) {Detach(attachment);}
126 : m_groupSize(0), m_counter(0)
137 size_t Put2(
const byte *begin,
size_t length,
int messageEnd,
bool blocking);
141 size_t m_groupSize, m_counter;
Classes for working with NameValuePairs.
AlgorithmParameters MakeParameters(const char *name, const T &value, bool throwIfNotUsed=true)
Create an object that implements NameValuePairs.
Standard names for retrieving values by name when working with NameValuePairs.
Decoder for bases that are a power of 2.
static void InitializeDecodingLookupArray(int *lookup, const byte *alphabet, unsigned int base, bool caseInsensitive)
Initializes BaseN lookup array.
BaseN_Decoder(const int *lookup, int log2base, BufferedTransformation *attachment=NULL)
Construct a BaseN_Decoder.
BaseN_Decoder(BufferedTransformation *attachment=NULL)
Construct a BaseN_Decoder.
size_t Put2(const byte *begin, size_t length, int messageEnd, bool blocking)
Input multiple bytes for processing.
void IsolatedInitialize(const NameValuePairs ¶meters)
Initialize or reinitialize this object, without signal propagation.
Encoder for bases that are a power of 2.
void IsolatedInitialize(const NameValuePairs ¶meters)
Initialize or reinitialize this object, without signal propagation.
BaseN_Encoder(const byte *alphabet, int log2base, BufferedTransformation *attachment=NULL, int padding=-1)
Construct a BaseN_Encoder.
BaseN_Encoder(BufferedTransformation *attachment=NULL)
Construct a BaseN_Encoder.
size_t Put2(const byte *begin, size_t length, int messageEnd, bool blocking)
Input multiple bytes for processing.
Base class for bufferless filters.
Used to pass byte array input as part of a NameValuePairs object.
Implementation of BufferedTransformation's attachment interface.
Filter that breaks input stream into groups of fixed size.
Grouper(int groupSize, const std::string &separator, const std::string &terminator, BufferedTransformation *attachment=NULL)
Construct a Grouper.
Grouper(BufferedTransformation *attachment=NULL)
Construct a Grouper.
size_t Put2(const byte *begin, size_t length, int messageEnd, bool blocking)
Input multiple bytes for processing.
void IsolatedInitialize(const NameValuePairs ¶meters)
Initialize or reinitialize this object, without signal propagation.
Interface for retrieving values given their names.
Base class for unflushable filters.
#define CRYPTOPP_API
Win32 calling convention.
Abstract base classes that provide a uniform interface to this library.
Implementation of BufferedTransformation's attachment interface.
Crypto++ library namespace.
const char * DecodingLookupArray()
const byte *
const char * GroupSize()
int
const char * PaddingByte()
byte
const char * EncodingLookupArray()
const byte *
const char * Terminator()
ConstByteArrayParameter.
const char * Log2Base()
int
const char * Separator()
ConstByteArrayParameter.