RC2
Designer:
Ron Rivest
Published:
1998
References:
- [Def] Ron Rivest,
- "A Description of the RC2(r) Encryption Algorithm,"
- [An] L.R. Knudsen, V. Rijmen, R.L. Rivest, M.J.B. Robshaw,
- "On the design and security of RC2,"
- Fast Software Encryption, Volume 1372 of Lecture Notes in Computer Science (S. Vaudenay, ed.), pp. 206-221. Springer-Verlag, 1998.
- [An] J. Kelsey, B. Schneier, D. Wagner,
- "Related-Key Cryptanalysis of 3-WAY, Biham-DES, CAST, DES-X, NewDES, RC2, and TEA",
- ICICS '97 Proceedings, Springer-Verlag, November 1997
- Key length: Minimum 0; maximum 1024, multiple of 8 bits; default 128 bits.
- Block size: 8 bytes.
Comment:
The value of the key's effectiveBitLength parameter may be different from 8 * (length of key encoding in bytes), to allow compatibility with other RC2 implementations. However, RC2 KeyGenerators should always generate keys such that the length of the encoding is equal to (effectiveBitLength + 7) / 8 bytes. (To create keys that do not satisfy this constraint, an application has to construct a SecretKey object directly.)
Note that the table given in section 6 of RFC 2268 plays no part in determining the number of effective bits (and also, the default key length is 128 bits, not 32 as implied by that section).
|