diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2012-11-05 22:41:51 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-05 22:41:51 +0000 |
| commit | ec05778d5718a7912e506764d443a78d6a6179e3 (patch) | |
| tree | 78a9a01532180030c095acefc45763f07c14edb8 /src/stable/cryptohash.h | |
| parent | b20414ac1fe80a71a90601f4cd1767fa7014a9ba (diff) | |
| download | libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.gz libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.bz2 libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.xz libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.zip | |
Converted tabs to spaces with tabconv.
Diffstat (limited to 'src/stable/cryptohash.h')
| -rw-r--r-- | src/stable/cryptohash.h | 28 |
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 | ||
| 13 | namespace Bu | 13 | namespace 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 |
