There are a number of block ciphers implemented, all with
extremely similar interfaces. However, block ciphers aren't
actually at all pleasant to use directly. They're really
- intended to be used only by higher-level `modes'.
+ intended to be used only by higher-level `modes'.
Anyway, I'll take Bruce Schneier's Blowfish as an example.
The `type' Simply N if specific macros for handling blocks
of the appropriate width have been written, or X
if the macros should use a loop instead.
-
+
The `endianness'
Either `B' for big-endian, or `L' for little-
endian.
-
+
The `width' The cipher's block size in bits.
This simple interface is thoroughly inconvenient for general
generic cipher class is called simply `rc4'.
---
-[mdw]
+-- [mdw]
\f
Local variables: