diff options
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 | ||
7 | namespace Bu | 7 | namespace 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 | { |