📄 base34dec.h
字号:
#ifndef AXSIGLIB_BASE34DEC_H
#define AXSIGLIB_BASE34DEC_H
/*! \file
\brief AxSigLib - Short Elliptic Curve Digital Signature Algorithm et. al.
@(#) $Id$
Decode Base34 strings. These are strings using A-N, P-Z, 1-9 as their digits,
valued in that sequence, i.e. A is zero, 9 is thirty-two.
Copyright (C) 2005 Svante Seleborg/Axon Data, All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms
of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program;
if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
Boston, MA 02111-1307 USA
The author may be reached at mailto:axcrypt@axondata.se and http://axcrypt.sourceforge.net
----
*/
#include "Base34.h"
#include "BaseMDec.h"
//! Decode base 34 data back to bytes
class CRYPTOPP_DLL Base34Decoder : public BaseM_Decoder {
public:
Base34Decoder(int bits = 0, BufferedTransformation *attachment = NULL)
: BaseM_Decoder(GetDefaultDecodingLookupArray(), 34, bits, attachment) {
}
void IsolatedInitialize(const NameValuePairs ¶meters);
private:
static const int *GetDefaultDecodingLookupArray();
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -