Rivest Cipher 5 (RC5) is a symmetric encryption that uses block ciphers. The method is based on three different mathematical operations: an exclusive-or operation (XOR), an addition and a shift. These three operations are applied sequentially to parts of the plaintext and the key. The RC5 algorithm encrypts in blocks of 64 bits
, with thetransformation
beingperformed twelve times in succession, each time using a different round key.
RC5 is described in RFC 2040.