IT lexicon › Security › Key schedule

Key schedule

Security På svenska → Updated: 2026-10-12

The procedure that stretches a master key into the subkeys a cipher uses in each round.

DES turns a 56-bit key into sixteen 48-bit subkeys through permutations and circular shifts of two halves. AES expands its key with an S-box and round constants. RC4's key-scheduling algorithm (KSA) instead shuffles a 256-byte table according to the key, and the weaknesses in that shuffle help explain why RC4 was eventually retired.

Blowfish sits at the opposite extreme. Its key setup encrypts its own tables over and over, so loading a key is deliberately expensive. That choice turned out to be useful: bcrypt's password hashing is built on exactly that property.

← Back to the lexicon