aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/cipher.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-11-28 17:39:09 +0000
committerMike Buland <eichlan@xagasoft.com>2012-11-28 17:39:09 +0000
commit03e8c5ad314252cde58c53688c70b9f836a1d5b4 (patch)
tree6d26558aaae5e3758ca8b23c4086116e6d6b2636 /src/unstable/cipher.h
parent223e2986ad7752d38ce24d1cbeff47db98df1ae3 (diff)
downloadlibbu++-03e8c5ad314252cde58c53688c70b9f836a1d5b4.tar.gz
libbu++-03e8c5ad314252cde58c53688c70b9f836a1d5b4.tar.bz2
libbu++-03e8c5ad314252cde58c53688c70b9f836a1d5b4.tar.xz
libbu++-03e8c5ad314252cde58c53688c70b9f836a1d5b4.zip
More comments; moved the encryption system to unstable.
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
14namespace Bu 14namespace 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 {