Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In cryptography,
Crab is a block cipher proposed by Burt Kaliski and Matt Robshaw at the
first Fast Software Encryption workshop in 1993. Not really intended for
use, Crab was developed to demonstrate how ideas from hash functions
could be used to create a fast cipher. Crab has an unusually large block
size of 8192 bits. Its creators suggested using an 80-bit key, but the
cipher could use any key size. The authors didn't specify an actual key
schedule, only that the key is used to generate two large sets of
subkeys: a permutation of the numbers 0 through 255, and an array of
2048 32-bit numbers. The block is divided into 256 32-bit subblocks,
which are permuted at the beginning. Then the algorithm makes four
passes over the data, each time applying one of four transformations
adapted from MD5.