summaryrefslogtreecommitdiff
path: root/hex.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2003-07-18 04:35:30 +0000
committerweidai <weidai11@users.noreply.github.com>2003-07-18 04:35:30 +0000
commit5b2008101cb8123db25bbe99a2e3688fc426edbc (patch)
treea25c153b42dc3f510a7981a031bd04dfa0a7a712 /hex.h
parentb3d4024665640987ee62a348cfc3e9cfe7e1536e (diff)
downloadcryptopp-git-5b2008101cb8123db25bbe99a2e3688fc426edbc.tar.gz
misc changes
Diffstat (limited to 'hex.h')
-rw-r--r--hex.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/hex.h b/hex.h
index ec8c91c0..74302f28 100644
--- a/hex.h
+++ b/hex.h
@@ -12,7 +12,7 @@ public:
HexEncoder(BufferedTransformation *attachment = NULL, bool uppercase = true, int outputGroupSize = 0, const std::string &separator = ":", const std::string &terminator = "")
: SimpleProxyFilter(new BaseN_Encoder(new Grouper), attachment)
{
- IsolatedInitialize(MakeParameters("Uppercase", uppercase)("GroupSize", outputGroupSize)("Separator", ConstByteArrayParameter(separator)));
+ IsolatedInitialize(MakeParameters(Name::Uppercase(), uppercase)(Name::GroupSize(), outputGroupSize)(Name::Separator(), ConstByteArrayParameter(separator)));
}
void IsolatedInitialize(const NameValuePairs &parameters);
@@ -23,12 +23,12 @@ class CRYPTOPP_DLL HexDecoder : public BaseN_Decoder
{
public:
HexDecoder(BufferedTransformation *attachment = NULL)
- : BaseN_Decoder(GetDecodingLookupArray(), 4, attachment) {}
+ : BaseN_Decoder(GetDefaultDecodingLookupArray(), 4, attachment) {}
- void IsolatedInitialize(const NameValuePairs &parameters) {}
+ void IsolatedInitialize(const NameValuePairs &parameters);
private:
- static const int *GetDecodingLookupArray();
+ static const int *GetDefaultDecodingLookupArray();
};
NAMESPACE_END