aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/ciphermodeecb.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/unstable/ciphermodeecb.h (renamed from src/experimental/ciphermodeecb.h)8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/experimental/ciphermodeecb.h b/src/unstable/ciphermodeecb.h
index cac2beb..c4a7f23 100644
--- a/src/experimental/ciphermodeecb.h
+++ b/src/unstable/ciphermodeecb.h
@@ -3,6 +3,14 @@
3 3
4namespace Bu 4namespace Bu
5{ 5{
6 /**
7 * Electronic Code Book mode. This cipher mode is the simplest, it's
8 * effectively a pass-through mode. It's the same as using the encryption
9 * scheme without a mode, but at least you absolutely know that you've got
10 * the correct mode. I recommend using this instead of the raw mode if for
11 * no other reason than it makes your code more self-documenting, and with
12 * optomization shouldn't add any extra calls to your code.
13 */
6 template<int iBlockSize, typename CipherType> 14 template<int iBlockSize, typename CipherType>
7 class CipherModeEcb : public CipherType 15 class CipherModeEcb : public CipherType
8 { 16 {