aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-03 13:53:29 +0000
committerlloyd <[email protected]>2010-09-03 13:53:29 +0000
commitfb68795162b8d107cbd284c4a75d8e13ce589829 (patch)
tree08235bbae32a89114f3241a4d43b3f07e5543175
parentc4f36e11b7ca92112fefc5690c072b127e05b9dc (diff)
Remove declaration of Hex_Encoder::encode, which was removed in an earlier
checkin.
-rw-r--r--src/filters/hex_filt/hex_filt.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/filters/hex_filt/hex_filt.h b/src/filters/hex_filt/hex_filt.h
index 2a7300ddb..88bf35de8 100644
--- a/src/filters/hex_filt/hex_filt.h
+++ b/src/filters/hex_filt/hex_filt.h
@@ -1,6 +1,6 @@
/*
* Hex Encoder/Decoder
-* (C) 1999-2007 Jack Lloyd
+* (C) 1999-2010 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
@@ -13,7 +13,8 @@
namespace Botan {
/**
-* This class represents a hex encoder. It encodes byte arrays to hex strings.
+* Converts arbitrary binary data to hex strings, optionally with
+* newlines inserted
*/
class BOTAN_DLL Hex_Encoder : public Filter
{
@@ -23,11 +24,6 @@ class BOTAN_DLL Hex_Encoder : public Filter
*/
enum Case { Uppercase, Lowercase };
- /**
- * Encode a single byte into two hex characters
- */
- static void encode(byte in, byte out[2], Case the_case = Uppercase);
-
std::string name() const { return "Hex_Encoder"; }
void write(const byte in[], u32bit length);
@@ -58,7 +54,7 @@ class BOTAN_DLL Hex_Encoder : public Filter
};
/**
-* This class represents a hex decoder. It converts hex strings to byte arrays.
+* Converts hex strings to bytes
*/
class BOTAN_DLL Hex_Decoder : public Filter
{