Skip to main content


Home RC6

RC6

RC6 definition

RC6 is a symmetric key block cipher (an encryption method) that uses fixed-size blocks to provide efficient encryption and decryption. RC6 was developed by Ronald Rivest in 1997.

RC6’s strength lies in its ability to handle various key sizes, making it adaptable to different security requirements. It uses clever mathematical techniques (e.g., bitwise operations, modular arithmetic, and key-dependent rotations) to scramble the data effectively.

Despite its age, RC6 remains a relevant and robust encryption method widely used in various applications to protect sensitive information.

See also: encryption key

How RC6 works

  • RC6 takes the plaintext (the original message) and divides it into fixed-size blocks.
  • Before encryption or decryption, a secret key is set up for RC6. This key is used to determine how the data will be scrambled.
  • RC6 uses bitwise operations and modular arithmetic to mix up the data (confusion) and spread the influence of each bit across the entire block (diffusion).
  • RC6 repeats a set of operations (known as rounds) several times to enhance security. The more rounds, the harder it is for someone to break the encryption.
  • During encryption, RC6 takes each plaintext block and performs the rounds, mixing the data according to the key.
  • To decrypt the ciphertext back into the original message, RC6 applies the same set of rounds but in the reverse order, using the same secret key.

The history of RC6

RC6 was introduced in 1997 by Ronald Rivest, one of the co-founders of RSA Security. It was designed as an improved version of the RC5 cipher, aiming to provide better security and efficiency. RC6 was primarily developed because there was a need for a flexible and robust encryption algorithm that could adapt to various key sizes and provide high levels of security.

Despite its strengths, other modern encryption algorithms like AES (Advanced Encryption Standard) have recently become more popular.