summaryrefslogtreecommitdiff
path: root/blumshub.h
diff options
context:
space:
mode:
Diffstat (limited to 'blumshub.h')
-rw-r--r--blumshub.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/blumshub.h b/blumshub.h
index 6aab326..5e50747 100644
--- a/blumshub.h
+++ b/blumshub.h
@@ -17,12 +17,8 @@ public:
unsigned int GenerateBit();
byte GenerateByte();
-
- void ProcessData(byte *outString, const byte *inString, size_t length)
- {
- while (length--)
- *outString++ = *inString ^ GenerateByte();
- }
+ void GenerateBlock(byte *output, size_t size);
+ void ProcessData(byte *outString, const byte *inString, size_t length);
bool IsSelfInverting() const {return true;}
bool IsForwardTransformation() const {return true;}