aboutsummaryrefslogtreecommitdiff
path: root/src/stable/cryptohash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stable/cryptohash.h')
-rw-r--r--src/stable/cryptohash.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/stable/cryptohash.h b/src/stable/cryptohash.h
index 3f13b05..a943590 100644
--- a/src/stable/cryptohash.h
+++ b/src/stable/cryptohash.h
@@ -12,22 +12,22 @@
12 12
13namespace Bu 13namespace Bu
14{ 14{
15 class Stream; 15 class Stream;
16 16
17 class CryptoHash 17 class CryptoHash
18 { 18 {
19 public: 19 public:
20 CryptoHash(); 20 CryptoHash();
21 virtual ~CryptoHash(); 21 virtual ~CryptoHash();
22 22
23 virtual void reset() = 0; 23 virtual void reset() = 0;
24 virtual void setSalt( const Bu::String &sSalt ) = 0; 24 virtual void setSalt( const Bu::String &sSalt ) = 0;
25 virtual void addData( const void *sData, int iSize ) = 0; 25 virtual void addData( const void *sData, int iSize ) = 0;
26 virtual void addData( const Bu::String &sData ); 26 virtual void addData( const Bu::String &sData );
27 virtual String getResult() = 0; 27 virtual String getResult() = 0;
28 virtual void writeResult( Stream &sOut ) = 0; 28 virtual void writeResult( Stream &sOut ) = 0;
29 virtual Bu::String getHexResult(); 29 virtual Bu::String getHexResult();
30 }; 30 };
31}; 31};
32 32
33#endif 33#endif