diff options
Diffstat (limited to '')
-rw-r--r-- | src/unstable/cipher.h (renamed from src/experimental/cipher.h) | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/experimental/cipher.h b/src/unstable/cipher.h index 6e58613..eed73af 100644 --- a/src/experimental/cipher.h +++ b/src/unstable/cipher.h | |||
@@ -13,6 +13,16 @@ | |||
13 | 13 | ||
14 | namespace Bu | 14 | namespace Bu |
15 | { | 15 | { |
16 | /** | ||
17 | * Represents a nice base class for a stream filter block encryption scheme. | ||
18 | * This class handles efficient caching during reading and writing, | ||
19 | * encrypting and decrypting for block ciphers. For each individual cipher | ||
20 | * you only have to worry about the block encryption and decryption. Cipher | ||
21 | * modes are handled with seperate classes, see Bu::CipherModeCbc, | ||
22 | * Bu::CipherModeCfb, Bu::CipherModeEcb, and Bu::CipherModeOfb. | ||
23 | * | ||
24 | * | ||
25 | */ | ||
16 | template<int iBlockSize> | 26 | template<int iBlockSize> |
17 | class Cipher : public Bu::Filter | 27 | class Cipher : public Bu::Filter |
18 | { | 28 | { |