Crab (cipher)
In cryptography, Crab is a block cipher proposed by Burt Kaliski and Matt Robshaw at the first Fast Software Encryption workshop in 1993.[src] Not really intended for use, Crab was developed to demonstrate how ideas from hash functions could be used to create a fast cipher.[src] Crab has an unusually large block size of 8192 bits.[src] Its creators suggested using an 80-bit key, but the cipher could use any key size.[src] 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.[src] The block is divided into 256 32-bit subblocks, which are permuted at the beginning.[src] Then the algorithm makes four passes over the data, each time applying one of four transformations adapted from MD5.[src] A brief note on the cryptanalysis of Crab is included in Markku-Juhani Saarinen's paper on block ciphers based on SHA-1 and MD5, published at FSE 2003.[src] The author demonstrates a weakness in Crab that permits a distinguisher using no more than a dozen chosen plaintexts, and speculates that this can be converted into a full key-recovery attack using no more than 2 16 chosen plaintexts.[src] Such an attack would depend on the key schedule used.[src]
In cryptography, Crab is a block cipher proposed by Burt Kaliski and Matt Robshaw at the first Fast Software Encryption workshop in 1993.[src] Not really intended for use, Crab was developed to demonstrate how ideas from hash functions could be used to create a fast cipher.[src] Crab has an unusually large block size of 8192 bits.[src] Its creators suggested using an 80-bit key, but the cipher could use any key size.[src] 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.[src] The block is divided into 256 32-bit subblocks, which are permuted at the beginning.[src] Then the algorithm makes four passes over the data, each time applying one of four transformations adapted from MD5.[src] A brief note on the cryptanalysis of Crab is included in Markku-Juhani Saarinen's paper on block ciphers based on SHA-1 and MD5, published at FSE 2003.[src] The author demonstrates a weakness in Crab that permits a distinguisher using no more than a dozen chosen plaintexts, and speculates that this can be converted into a full key-recovery attack using no more than 2 16 chosen plaintexts.[src] Such an attack would depend on the key schedule used.[src] ==References== A patent on an encryption device that uses Crab.[src]
21 sentences · 21 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Crab (cipher)." encyclopegia.org, 2024, https://encyclopegia.org/wiki/crab-cipher. Accessed 28 November 2026.
Chicago
"Crab (cipher)." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/crab-cipher.
APA
encyclopegia.org. (2024). Crab (cipher). Retrieved November 28, 2026, from https://encyclopegia.org/wiki/crab-cipher
Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| publication date | 2003 | Wikipedia |