aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/ciphermodeofb.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/ciphermodeofb.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/ciphermodeofb.h (renamed from src/experimental/ciphermodeofb.h)9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/experimental/ciphermodeofb.h b/src/unstable/ciphermodeofb.h
index e1b5108..19d0f83 100644
--- a/src/experimental/ciphermodeofb.h
+++ b/src/unstable/ciphermodeofb.h
@@ -6,6 +6,15 @@
6 6
7namespace Bu 7namespace Bu
8{ 8{
9 /**
10 * Output Feedback Mode. This cipher mode is one of the most resiliant.
11 * Instead of encrypting your data directly it encrypts a "key stream" using
12 * the initialization vector, and then XORs those blocks with your stream
13 * blocks. This means that an error in your stream will still produce an
14 * error in the output, but it will not propegate. Also, with most
15 * encryption schemes error correction codes on the source data will still
16 * work on the encrypted data or decrypted output.
17 */
9 template<int iBlockSize, typename CipherType> 18 template<int iBlockSize, typename CipherType>
10 class CipherModeOfb : public CipherType 19 class CipherModeOfb : public CipherType
11 { 20 {